Human Windows Workflow Foundation 3.5 over WCF

August 4, 2010

Couple of things I have started to notice some basic gotch-yas for developers around my place of employment.

Error on activity validation – cannot find condition

You will get this error when using embedded declarative code conditions in anything from a WhileActivity to a IfElseActivity. Basically if your .rule file is not named exactly the same as your .xoml file (including case!) the *.rules file will not load.

To fix this open up the *.csproj file and change the dependency to include the correct casing and names for the rules.

DLR in .NET

March 2, 2010

Bet this starts freaking people out sooner rather than later. I personally love it. Go duck typing. (and unit tests).

Looking at Ayende’s potential DB solution over Lucene and it’s peek my interest. I remember writing so much reflection code for dynamics and JSON, now its more or less out of the box.

Read the rest of this entry »

XSD vs. SVCUTIL Generating DataContracts

February 17, 2010

Been working with a rather in-depth and complex XML file. At first I got XmlSerializer up and running but encountered ugly XML being generated and bad types when I used this type in WCF. WCF really likes DataContract serialization. Using anything else makes your REST calls rather ugly….

Read the rest of this entry »