What Was I Thinking?

Follies & Foils of .NET Development
posts - 85 , comments - 251 , trackbacks - 0

Windows Workflow Foundation

Faulting Handling for Dynamic Workflows - Part 1.
"There is no joy in Mudville - the mighty Casey has struck out." I've been spending some time lately reviewing and bolstering my old WF Execution code. Part of this refactoring included a revamped approach at Exception handling. With so many different kinds of activities, implementing a "standard" fault handler is proving more challenging than I had originally thought. Managing exceptions in base workflow activities is one thing, but handling exceptions in custom business activities is quite another. ......

Posted On Friday, February 1, 2008 3:36 AM | Comments (0) | Filed Under [ Windows Workflow Foundation ]

Persisting Workflows using the NetDataContract Serializer
I'm currently working on a WCF/WF project where we've replaced .NET's DataContractSerializer default with the NetDataContractSerializer. The following is from the MSDN help file: The NetDataContractSerializer differs from the DataContractSerializer in one important way: the NetDataContractSerializer includes CLR type information in the serialized XML, whereas the DataContractSerializer does not. Therefore, the NetDataContractSerializer can be used only if both the serializing and deserializing ends ......

Posted On Saturday, January 26, 2008 2:54 PM | Comments (0) | Filed Under [ Windows Workflow Foundation ]

.NET 3.5 Certification Exam Beta is Still Available
Microsoft has extended the deadline for the .NET 3.5 technologies certification exam betas. There are certification tests available for WCF, WPF and Windows Workflow. You can take the exams for free, if you pass they will count towards your overall MS certification. Interested? Read more about it here ......

Posted On Friday, January 25, 2008 1:57 PM | Comments (6) | Filed Under [ Windows Workflow Foundation ]

HowTo: Set up your project for Window's Workflow (C# style)
Any C# project can contain Workflow definitions. They're just code file and/or XAML files. The trick is getting Visual Studio to recognize the project as supporting worfklows for design-time support and compilation. To enable a project for Windows Workflow,: Open the project in visual studio. If you're using source control check out the project file so it becomes writable In the Solution Explorer, right click and select Unload Project . The project tree will disappear from the solution explorer and ......

Posted On Saturday, January 19, 2008 11:31 AM | Comments (3) | Filed Under [ Windows Workflow Foundation ]

Hide Custom Activity Properties from the WF Designer & Property Grid
Sometimes too many options is a bad thing. After all just because I create a property in my custom activity doesn't mean I want it displayed on the design surface. To Microsoft's credit, most of the design behavior of workflow is customizable and often pluggable, making it possible and practical to extend the user experience. Microsoft provides a Browseable attribute which can be placed on properties that according to the help file : specifies whether a property or event should be displayed in a ......

Posted On Wednesday, December 12, 2007 10:54 AM | Comments (0) | Filed Under [ Windows Workflow Foundation ]

Breakpoints in XAML Activated Workflows
XAML only workflows (those are xoml files without a code attribute and code beside file), do not support debugger breakpoints. Right clicking on the activity in the workflow and selecting insert breakpoint does (as far as I can tell) nothing. Since XAML only workflows have no associated code and therefore no IL, it makes sense that you can't set a breakpoint, after all what exactly are you attaching the breakpoint to? XAML only workflows are all about process orchestration and flow control, we really ......

Posted On Wednesday, December 12, 2007 10:18 AM | Comments (0) | Filed Under [ Windows Workflow Foundation ]

Powered by: