WF/WCF CorrelationHandle with Entities

I recently was helping someone out who was having trouble with setting correlation for workflow instances. He wanted to pass in an entity as a property to a service call correlating with other service calls. This can simply be done by setting up the correlation based on a unique value of the property. For instance, if  Candidate.CandidateId is unique and you need to pass in the entire Candidate object, you can set the "CorrelatesOn" property, "Query" to just the CandidateId of the object being passed in.  You will also see a "Key" property within the "CorrelatesOn", this property needs to match the other correlated set "Key" properties.

Currently rated 3.0 by 10 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 5/31/2011 at 9:13 AM
Categories: Connected | WCF | WF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Getting Started with Windows Workflow's StateMachine in 4.0

Last month Microsoft released the .Net Framework 4 Platform Update 1 - Runtime Update which focuses on WF4 updates, but first you will also need Visual Studio 2010, SP1  One of the features that WF developers have been asking for is the State Machine style of workflow. When Windows Workflow Foundation first shipped, it allowed developers to build sequential workflows and state machine workflows. When Windows Workflow 4.0 was released it introduced the flowchart style of workflow. Now the flowchart style of workflow allows the flexibility that was some what limited in WF3.x. Using a flowchart style workflow you can model and build state machine workflows, however because the state machine workflow style was offered in WF3.x, developers still want to utilize the rich features that building state machine workflows offer.

If you have worked with state machine workflows in the past you will notice a dramatic difference. Below is an example of a state machine workflow in WF3.x

 

and here you can see a much richer state machine workflow experience in WF4.0

 

 

I will add some additional posts on showing how to build state machine workflows in WF4.0.

Currently rated 3.0 by 12 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 5/19/2011 at 12:55 AM
Categories: Connected | WF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Presenting at South Florida CodeCamp 2011

Today I will embark on a journey that will keep me in the same State, but take me to a place that is all but familiair to me...South Florida! Why do I say this? No sweet tea! There is something wrong with being in Florida and not being able to purchase sweet tea. However, I am looking forward to presenting on a couple of things that are dear to my heart. My sessions will focus on hosting workflows in Windows App Fabric and architecting solution with Visual Studio 2010. If you get a chance come check out my sessions and a wealth of other sessions. This is Florida's biggest codecamp I believe and some of the best speakers around present at it, so you are bound to learn something just by showing up and saying, "hi". Find out more at http://www.fladotnet.com/codecamp/

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 2/11/2011 at 12:14 AM
Categories: Connected | WF | Windows Server AppFabric
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

First Speaking Engagement of 2011 ON WF4 on AppFab

Looks like I was chosen to present at South Florida's CodeCamp! February 12, 2011 I will be heading down to talk about WF and Windows Server AppFab. Register here and come see my talk!

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 12/16/2010 at 7:03 AM
Categories: Connected | WCF | WF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Gave My Session On Hosting WF4 Within AppFabric at Tally's Code Camp

Just finished my session on hosting workflows using WF4 in Windows Server AppFabric! I actually thought that I might not have enough demos for the session time, however my work paid off last week and I made more than I could show. First I showed how to build a custom workflow host with persistence. I demonstrated that I could shut down the host and pick back up where the workflow left off. Then I moved to building a workflow exposed as WCF. I showed how this was using raw ADO.Net but also showed how Entity Framework 4.0 could be used as well. Finally I pushed the workflow service into AppFabric and connected a client to it. On purpose I added more characters than the database field could hold so that the call would fail. I did this because I was able to work with the monitoring senarios with AppFabric when I got the same error by mistake:(. This was a nice turn into how AppFabric worked and how monitoring could be used to detect the errors that the client app could not see.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 10/23/2010 at 5:08 AM
Categories: Connected | WCF | WF | Windows Server AppFabric
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Workflow Persistence is Not Fully Functional Because the Net.Pipe protocol is Missing

You might not see this error until you start deploying workflow services to Windows Server AppFabric and configuring persistence or host management!

 

 All it means is that you need to add "net.pipe to the list of protocols the applicaiton can use. To do this

  1. Click on the deployed Application
  2. Click "Advanced Settings..."
  3. Look for "Enabled Protocols" which probably has "http" already added
  4. Add ",net.pipe" like below

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 10/21/2010 at 9:23 AM
Categories: Connected | WCF | WF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Speaking On AppFabric Caching Tonight

Ahhh...Heading back to Tallahassee, Fl. tonight to speak in the town of my Alma mater, FSU! Not too excited about the game last Saturday with Oklahoma, however I do like spending time there.  Tonight at the Captial City Arch SIG, I will be presenting on AppFabric Caching, its benefits and how to integrate it into existing solutions.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 9/16/2010 at 3:10 AM
Categories: Connected
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Speaking On AppFabric Caching Tonight At JaxDUG

Tonight is our monthly meeting and all week I have been building Hyper-V machines to serve as the cluster I will be using for my demos. My company, FlowFocus Solutions (http://www.flowfocus.com) will be hosting the meeting with food afterwards at Longhorn. Hope to see ya!

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 7/7/2010 at 8:02 AM
Categories: Connected
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Windows Server AppFabric Available for Download

Windows Server AppFabric was released yesterday...Get it here!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 6/8/2010 at 8:16 AM
Categories: Connected
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Speaking About WF4 In Tallahassee Fl. On June 17, 2010

Just confirmed that I will be heading to Tally in June to share about the exciting new features in WF. Lately I have been speaking at Florida codecamps so I am looking forward to getting more personal with usergroups too with presentations on WF.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 4/10/2010 at 6:55 AM
Categories: Connected | WF
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed