Author Archives: brianbacon
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
If you’ve read my earlier posts you’ll see I have a somewhat childish fascination (crush if you will) with the .Net Expressions and dynamics API’s. I think there is limitless potential with these two platforms and in this post I … Continue reading
It sounds like a joke but there really is a class called ExpandoObject. When I first heard of it I thought it was a farce, but it is actually pretty useful. [Let me preface this by saying I wouldn’t necessarily … Continue reading
The .Net Expressions API (as a part of System.Linq.Expressions assembly) provides a vast set of functions that can be used to express mathematical expressions, which can be composed and executed (as lambas) at runtime. Expressions.Add, .Multiply, and .Subtract, are just … Continue reading
Expression trees in C# fascinate me. They can be used to create dynamic methods or, in some cases, wrap existing methods or properties. Once constructed as lambdas, the expressions can be executed like any other C# method. Reflection accomplishes a … Continue reading
Unless caught with a fault handler, runtime exceptions in workflow activities terminates the workflow raising the workflow_terminated event. This could be problematic if your controller logic depends on the completion of the workflow wholesale. Exceptions can be handled at the … Continue reading