Browse by Tags

All Tags » NetFx3 » DevCenter (RSS)
One powerful feature of a workflow is that a workflow can be changed at runtime. Like other powerful features this is something that should be done with care but it can be a real life saver at times. One of the things that you can change are Declarative...
with no comments
Filed under: , , ,
As far as I am concerned Silverlight 2 is pretty cool and should have been developed years ago . Well guess that isn't the case but it is here now. One thing I like about Silverlight is how easy it is to call a web service. I guess that is a must...
In this post I demonstrated how to create IronPython objects and call them from strongly typed .NET code. So suppose we want to do so with Windows Workflow Foundation where could we use this? Well the most obvious place would be a runtime service . The...
.NET Reflector, by Lutz Roeder, must be one of the most useful tools I have when developing .NET code. Usually it is the first thing I install right after Visual Studio not even waiting until I need it because I know I will. So the big news is that Red...
Want to know what is new in the .NET 3.5 SP1 framework or Visual Studio 2008 SP1? Then check out the presentations and labs here: http://www.microsoft.com/downloads/details.aspx?FamilyID=355C80E9-FDE0-4812-98B5-8A03F5874E96&displaylang=en Overview...
Windows Workflow Foundation, WF for short, is one of the technologies I work a lot with and as a consequence I own several books about WF. Comparing this book with the others I can only say it is one of the best books you can get on the subject. It has...
In two previous blog posts, part one and part two , I covered the fact that the ReceiveActivity and the TransactionScopeActivity don't work together very well. I demonstrated this using a sequential workflow and did show a, clumsy and hacky, workaround...
with no comments
Filed under: , , , ,
It is available from the subscriptions download at http://msdn.microsoft.com/en-us/subscriptions/default.aspx Get it while it is hot Enjoy!
In a previous blog post I write about what happens when you place a TransactionScopeActivity within a ReceiveActivity and an exception occurs that is supposed to roll back the transaction. In short the story was very bad and we could come up with only...
with no comments
Filed under: , , , , ,
I got an email from a friend last week asking about using a ReceiveActivity and, while receiving, using a TransactionScopeActivity to transitionally save some data in a database. Seems like a common enough scenario right? Well he was having some problems...
Afgelopen jaar hebben we het eerste CodeCamp in Nederland georganiseerd en dat was een groot succes. De meeste deelnemers vroegen om meer, sommige zelfs om een CodeCamp per kwartaal of een heel weekend lang. Nou hebben we dat laatste nog niet gedaan maar...
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...
with no comments
Filed under: , , , , ,
In a previous blog post I demonstrated how TypeMock allowed us to mock out the workflow runtime infrastructure and create true unit tests for a workflow activity. Now this may not seems like a big deal but because most of the classes in the workflow runtime...
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...
with no comments
Filed under: , , , ,
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...
with no comments
Filed under: , , , ,
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...
with no comments
Filed under: , , ,
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...
with no comments
Filed under: , , ,
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...
More Posts Next page »