WORKFLOW TRACE IN e2e format

<configuration>  <system.diagnostics>    <switches>      <add name=”System.Workflow LogToTraceListeners” value=”1″ />      <add name=”System.Workflow.Runtime” value=”All” />      <add name=”System.Workflow.Runtime.Hosting” value=”All” />      <add name=”System.Workflow.Runtime.Tracking” value=”All” />      <add name=”System.Workflow.Activities” value=”All” />      <add name=”System.Workflow.Activities.Rules” value=”All” />    </switches>     <trace autoflush=”true” indentsize=”4″>      <listeners>        <add name=”customListener”       type=”System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″       initializeData=”WFTrace.e2e” traceOutputOptions=”Callstack,LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId” />      </listeners>    </trace>  </system.diagnostics></configuration>  

0

PDC 2008 WEBCAST (WCF/WF)

WF 4.0 https://channel9.msdn.com/tags/pdc2008.wf/  WCF 4.0 https://channel9.msdn.com/tags/pdc2008.wcf/   PDC 2008 links https://channel9.msdn.com/pdc2008/ https://sessions.microsoftpdc.com/public/timeline.aspx    

1

SAMPLE WF CONFIG FOR NLB SCENARIO

If you are deploying your workflow application to multiple machines(NLB scenario) and all these machines are using same database for persistence , you need to use following  config (1)OwnershipTimeoutSeconds should be very high value ,so other hosts can’t  load these workflows (2)Disable auto unload SAMPLE WORKFLOW CONFIG:  <WorkflowRuntime Name=”WorkflowServiceContainer”> <CommonParameters> <add name=”ConnectionString” value=”Initial Catalog=SHARED;Data Source=localhost;Integrated…

2

Workflow Designer and performance

 // we improved WF designer performance in .NET 3.5 sp1 , After .NET 3.5 sp1 also, you may see some designer performance problems, you can follow these guide lines to increase WF designer performance Commonly reported issues   1. Time taken to open a workflow document is long. 2. Opening Activity bind dialog is slow….

1

.NET 3.5 SP1 /Visual Studio 2008 Service Pack 1 available to customers

Microsoft .NET Framework 3.5 Service Pack 1 http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en  Microsoft Visual Studio 2008 Service Pack 1 (exe) http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en

1

ManualWorkflowSchedulerService+Delay Activity

By default, the ManualWorkflowSchedulerService is used without active timers. So when the delay is hit, the workflow yields the thread back to the scheduler, and when the delay expires, nobody is around to call RunWorkflow. If you look in the web.config for the service you should see the entry for the scheduler service and you…

3

Not able to query Tracking data real time when application and tracking database on different machines

The remote SQL server’s clock should be in sync with the machine’s clock where the program is run. The sqlTrackingWorkflowInstance.WorkflowEvents fetches WorkFlowEvents in a DateTime range between SqlDateTime.MinValue and DateTime.UtcNow. If the SQL machines clock is ahead of the application machines clock then events will not be fetched until the application machine’s clock catches up…

1

How to capture SqlWorkflowPersistenceService errors.

If you are failed to persist the workflow or read workflow information from the Database ,workflow runtime may raise Abort event or Terminated event without raising any error messages ,so if you got Abort event or Terminate event and if you don’t know why workflow fired these events, Please enable workflow trace to debug these problems How…

1

WF ARTICLES

//If you know any good WF articles, Please let me know  Workflow Communicationshttp://msdn2.microsoft.com/en-us/magazine/cc163365.aspx Build Custom Activities To Extend The Reach Of Your Workflowshttp://msdn2.microsoft.com/en-us/magazine/cc163504.aspx ActivityExecutionContext in Workflowshttp://msdn2.microsoft.com/en-us/magazine/cc163414.aspx Workflow Serviceshttp://msdn2.microsoft.com/en-us/magazine/cc164251.aspx Tracking Services in Windows Workflow Foundationhttp://msdn2.microsoft.com/en-us/magazine/cc163466.aspx Integrating Windows Workflow Foundation and Windows Communication Foundationhttp://msdn2.microsoft.com/en-us/library/bb266709.aspx State Machines In Windows Workflowhttp://www.odetocode.com/Articles/460.aspx ASP.NET and Windows Workflows Foundationhttp://www.odetocode.com/Articles/465.aspx Hosting Windows Workflow http://www.odetocode.com/Articles/457.aspx

2

WF TRAINING MATERIAL

   if you know any good WF articles and video links, please let me know, I will update this list ARTICLES:   Introducing Microsoft Windows Workflow Foundation: An Early Lookhttp://msdn2.microsoft.com/en-us/library/aa480215.aspx Introduction to the Windows Workflow Foundation Rules Enginehttp://msdn2.microsoft.com/en-us/library/aa480193.aspx Introduction to Hosting Windows Workflow Foundationhttp://msdn2.microsoft.com/en-us/library/aa663362.aspx Windows Workflow Foundation: Everything About Re-Hosting the Workflow Designerhttp://msdn2.microsoft.com/en-us/library/aa480213.aspx Windows Workflow…

1