Posts

Free tool for converting CBR to Kindle format

http://calibre-ebook.com/download_osx

Demat accounts in india

A comprehensive comparison

WF4 Persistence tester code + multiple approvals and rejections

(Also look at a much more detailed approval/rejection solution on MSDN ) The below solution simply uses a Flow Chart level boolean variable and a FlowDecision element to show one approval/rejection scenario. The flow has one task activity and one approval. If the 2nd is rejected, it goes back to the first one. We can configure any number of such sequential related activities. The test code is configured for persistence too so you can end your app anytime and restart any persisted workflows later. Open the sln, change the connection string and hit ctrl+f5 to test. Use the below SQL on your DB if you forget to note the GUIDs from the console output. (Look at t he previous post to see how to configure the persistence tables on your DB for WF4) select * from [System.Activities.DurableInstancing] . [InstancesTable] select * from [System.Activities.DurableInstancing] . [RunnableInstancesTable] ******************** SubmitTaskName.cs ******************** ...

WF 4 sample code

WF 4 Persistence, Tracking, and Bookmarks examples

Sample SendMail CodeActivity for WF4

using  System; using  System.Collections.Generic; using  System.Linq; using  System.Text; using  System.Activities; using  System.Net.Mail; using  System.Net; namespace  MDM.Workflow.Activities.Core {      public   class   SendMail  :  CodeActivity < SmtpStatusCode >     {          public   InArgument < string > SmtpHost {  get ;  set ; }          public   InArgument < int > Port {  get ;  set ; }          public   InArgument < bool > UseDefaultCredentials {  get ;  set ; }          public   InArgument < NetworkCredential > Credentials {  get ;  set ; }     ...

Sample WebServicesCall CodeActivity for WF4

using  System; using  System.Collections.Generic; using  System.Linq; using  System.Text; using  System.Activities; using  System.Net; using  System.IO; namespace  MDM.Workflow.Activities.Core {      public   class   WebServicesCall  :  CodeActivity < string >     {          public   InArgument < string > WebRequestUrl {  get ;  set ; }          public   InArgument < string > SoapIn {  get ;  set ; }          public   InArgument < string > SoapAction {  get ;  set ; }          public   InArgument < string > ContentType {  get ;  set ; }        ...

Collapse Selection in Solution Explorer extension (For Visual Studio users)

Very useful VS2010 extension