Browse by Tags
All Tags »
NetFx3 »
.NET (
RSS)
I have just updated the SQL Server Compact Workflow Persistence Service to better handle deserialization issues when loading a workflow. The service now makes sure the WorkflowRuntime ServicesExceptionNotHandled is raised, something it should have done...
Using an ActivityDesignerTheme is a quick way to customize the appearance of an activity in the workflow designer. But there is a gotcha Because once you applied the theme and have a workflow with the custom activity open in the designer no matter what...
When working with state machine workflow's the SetStateActivity is one of the more important activities to use. The main reason is that is the one used to transition from one state to another. You can actually transition state in a different way as...
Most people consider unit testing of custom workflow activities to pretty much impossible. Sure you can create a dummy test workflow containing your new activity, new up a WorkflowRuntime , create a WorkflowInstance and start it. But just think about...
As I mentioned in my previous blog post adding a custom ActivityValidator class to an activity validates it at runtime as well as at design time. So when is this runtime validation done and what happens when it fails? The when part is when the WorkflowInstance...
Modifying already executing workflow's is a very powerful option. Now, as with most advanced options, not something you are going to need every day but certainly something to be aware of and use when the needed. First lets take a quick look at why...
There are several options for validating properties on a custom activity. Besides the possibility of using an ActivityValidator as described here we can also use the ValidationOptionAttribute. Now the ValidationOptionAttribute isn't useful all the...
Create a derived class from ActivityValidator and add it to your custom activity using the ActivityValidatorAttribute. For example: [ ActivityValidator ( typeof ( ValidatedActivityValidator ))] public partial class ValidatedActivity : SequenceActivity...
VS2008 SP1 Beta is quite a package. By default the installation downloads the packages as needed and when needed. Now that is just fine if you only need to install a single machine. But when you need to install multiple, possibly virtual, machines like...
The Dutch Microsoft office has posted the first of the Community DevCast we recorded. The host is Alex Thissen who actually does most of the work as he also edits the screencasts so don't forget to thank him next week when you run into him at the...
By default every custom workflow activity shows the same icon. And using an icon that help understand what the activity actually does makes life so much easier for the user of your activity. And remember he is a developer so some day he might just return...
When I tried I received the following very helpful System.ServiceModel.ProtocolException with Message="The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request...
For some reason a lot of people seem to think that only a single WorkflowRuntime object can be created in an AppDomain. And it isn't just the average Joe out there who seems to think so, no even book authors describe this behavior as the Workflow...
The ReplicatorActivity is one of the more interesting Workflow Foundation activities to work with when you have a collection of data and want to iterate over each item. Basically just think of it as a For Each statement in regular code. To demonstrate...
I recently received a copy of Pro WCF: Practical Microsoft SOA Implementation so I could review it. So did I like the book? Not really The problem with the book is that it wants to cover far too much and diverse material. Now covering a lot of material...
Sometimes you can get these kinds of errors using the new Workflow Foundation ReceiveActivity when property binding the incoming value. So why does this happen Well it appears the validation is comparing the type of the original interface to to the type...
I just noticed the second part of my article about developing custom Windows Workflow Foundation activities. Read part 2 here . Just in case you missed part 1 you can find it here . Enjoy! www.TheProblemSolver.nl http://wiki.WindowsWorkflowFoundation...
As I mentioned previously I was working in a Workflow Persistence Service using SQL Server Compact as the back end store. Now this might not be the best persistence store to use in every application but it has a number of advantages. One of the main advantages...
Sometimes you just want to be able to create a workflow in code bus save it as a XOML workflow so the end user has the opportunity to modify it. Well it turns out to be quite easy as the WorkflowMarkupSerializer class is your friend. The following code...
The new ReceiveActivity and SendActivity that marry Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) are really cool . Getting started is easy because a new Sequential Workflow Service Library, found under WCF instead of Workflow...
More Posts
Next page »