Geeks With Blogs
Jennifer Zouak JENNIFER · ZOUAK's · BizTalk · and · .NET · column December 2007 Entries
Workflow defined as XAML-only + Custom Base Class
I finally got an example working where I am using a pure XAML (no code) workflow definition and also using a base class. This took a bit of research and filling in the blanks. I was surprised that Visual Studio doesn't seem to support the XAML-only stuff... sigh. And when I got is working, the designer refused to display it, so I have to stick to the XML Editor going forwards. (I haven't checked the 3.5 fixes yet, xfingers!) First I created the workflow custom base class as a csharp class, I created ......

Posted On Thursday, December 13, 2007 8:47 AM

Workflow Custom Activity Validation - Design time versus Runtime
In creating a custom workflow activity and trying to follow the advice on creating a validator, I ran into one issue which was that I have two types of activity properties: Those which need to be set at design-time and those which are dynamic or bound at runtime. The validator examples give little detail on how to differentiate the two. Here is *a* solution: In your activity base class "CustomActivityBase", expose the property which will indicate when we are in design mode: internal bool IsDesignMode ......

Posted On Thursday, December 13, 2007 8:32 AM

Copyright © Jennifer Zouak | Powered by: GeeksWithBlogs.net