-
| The Best from DevelopMentor | MORE |
- Windows Workflow Foundation 4 and persistence
The persistence class out of the box is called SqlWorkflowInstanceStore and as the name suggests it saves workflow data in either SQL Server 2005 or 2008. We can attach it to either a WorkflowApplication or a WorkflowServiceHost and persist workflows when we want. This can be used to run only short lived workflows and doesn’t support persistence. var instanceStore = new SqlWorkflowInstanceStore(connStr); WorkflowApplication app = new WorkflowApplication(workflow); app.InstanceStore = instanceStore; app.Run(); Okay its a little more involved then that. Enjoy!
The Problem Solver - Thursday, November 19, 2009 - Securing a Workflow Service using Windows Identity Foundation
How about securing a workflow service? As a workflow 4 service is just another WCF service securing it is just as easy as the steps below will demonstrate. To start with I created a small workflow service and a simple client application. There is an add-on for Active Directory on Windows 2008 we could use but in this case I am going to use the StarterSTS Dominick Baier wrote. Tags: NET Workflow WCF WF4 VS2010 WIF The way security is often still handled these days with each application keeping track of their own users is somewhat dated. try. {. try. {. Enjoy!
The Problem Solver - Friday, September 24, 2010 - Unit Testing Coming to a Workflow Near You
[Update: See the follow up post "Significant Advances in Unit Testing Windows Workflow" ]. If you've been working with Windows Workflow, you'll find it has some cool features for orchestration, long running operations, state machines, etc. In fact the architecture that makes Windows Workflow powerful (strict separation of workflow, activities, and the host for example) really gets in the way of unit tests. There has been some work done on unit testing Windows Workflows. Here's some links: Unit Testing Activities with Windows Workflow Foundation by Ron Jacobs.
Michael C. Kennedy's Weblog - Tuesday, September 30, 2008 - Significant Advances in Unit Testing Windows Workflow
This post describes a unit testing library for testing Windows Workflow Foundations. First a Little History: Last September I posted this teaser entitled Unit Testing Coming to a Workflow Near You. In that previous post, I highlighted what I could determine to be the current state-of-the-art with regard to unit testing workflows, circa September 2008. Unit Testing Activities with Windows Workflow Foundation by Ron Jacobs. TDD and Windows Workflow Foundation by Ron Jacobs. Unit Testing Workflow Activities by K. You can also just jump to the code.
Michael C. Kennedy's Weblog - Sunday, January 18, 2009 - WF and ASP.NET - A Few Gotchas
The default WF scheduler also uses the ThreadPool to execute individual workflows; in combination this would be bad, as it results in 2 ThreadPool threads consumed per web request. What we need is a way to re-use the ASP.NET thread to also execute the workflow. As opposed to the DefaultWorkflowSchedulerService, the manual service grants explicit control over which thread is used to execute a given workflow. there's an extra call to ManualWorkflowSchedulerService.StartWorkflow() that comes after calling Start() on the workflow object itself. inside such workflows.
There Must Be Some Mistake - Monday, October 1, 2007 - Call for speakers: 3rd Dutch Code Camp
Visual Studio 2010 VSTS Open Source SharePoint ASP.NET/MVC/Web development/Silverlight Windows 7 iPhone DNN VSTO LINQ SQL Server 2008 Geneva BizTalk Windows Presentation Foundation Windows Communication Foundation Windows Workflow Foundation www.TheProblemSolver.nl Op 21 november 2009 organiseren de SDN, de dotNED User Group en VBcentral.nl samen de derde Nederlandse Code Camp. Een unieke dag, voortkomend uit een unieke samenwerking. Kenmerkend aan deze dag is, dat het een evenement is dóór ontwikkelaars en vóór ontwikkelaars! Ben jij geïnteresseerd om ook een sessie te doen?
The Problem Solver - Monday, October 26, 2009 - Six Things That’ll Surprise You About.NET 4.0
For example, one style of development where developers sketch out a scenario in code involving a set of classes before they are completely written was painful in VS 2008 (e.g. that Windows Workflow 4 has been completely rewritten for.NET 4.0. WF 4 has a nice GUI workflow building designer that is part of the VS 2010 tools and moreover that designer is rehostable in your own Windows Forms or WPF applications. I recently wrote an article for DevelopMentor ’s Developments entitled. Six Things That’ll Surprise You About.NET 4.0 ”. by Michael Kennedy. and VS 2010 Beta 2 ].
Michael C. Kennedy's Weblog - Wednesday, November 11, 2009