Mijn agenda voor de DevDays 2011

Nog een paar dagen en het is weer DevDays tijd. Maar waar ben ik te vinden tijdens de DevDays? Ten eerste sta ik als op de web development stand voor Ask The Expert voor de sessions. Dat is altijd leuk om te doen en het verbaast me soms met wat voor problemen je mensen kunt helpen. In het verlden heb ik zo al eens een probleem in een managed C++ app via terminal server bij iemand thuis op kunnen lossen, niet echt mijn expertise maar het lukte wel Verder hoop ik naar de nodige sessies te kunnen gaan, hieronder een … Continue reading Mijn agenda voor de DevDays 2011

Inversion of control and WCF

Lots of people like to use in inversion of control container, usually shortened to IOC, to inject dependencies into classes. The are lots of reasons for doing so but in the end they mostly boil down to separation of concern which makes thing more modular and thereby easier to reuse and unit test. When you start doing so manually injecting dependencies into a types constructor is easy enough but after a while this tends to become tedious and getting an IOC container to do this for you is a lot easier. The problem is that you don’t always control the … Continue reading Inversion of control and WCF

SqlWorkflowInstanceStore and SQL Azure

Some time ago I blogged about how to get the SqlWorkflowInstanceStore working with SQL Azure. In order for this to work we had to make a few changes to the SqlWorkflowInstanceStoreSchema.sql script and as a result we ended up in a working but officially not supported scenario. And while this worked just fine with the Windows Azure 1.2 SDK there was a change in the Windows Azure 1.3 SDK which resulted in each deployment being seen in a new service deployment. This last change even happened if no change was made to the workflow service or the assemblies but resulted … Continue reading SqlWorkflowInstanceStore and SQL Azure

NuGet and projects under source control

NuGet is one of those awesome additions to Visual Studio that I wonder how I could have gone for that long without it. And as I am not the only one who likes it we had a bit of a discussion on Twitter last week about how to go about using NuGet with projects under source control that are shared by multiple users. The problem is nothing new and has been around forever. Basically the problem consists of you installing some assembly, adding a reference to that assembly in your project and using the types in there. So far so … Continue reading NuGet and projects under source control

WF4 State Machine in the Multi-Targeting Pack for Microsoft .NET Framework 4 Platform Update 1

Lots of people like to use the state machine model workflow as this is a very flexible way of working that often fits in with how real work processes work. With WF3 we had a state machine workflow but with WF4 this was not ready in time and as a result we didn’t get to use this model. There where a few whitepapers on how to do a state machine using a flowchart and for simple cases those worked quite well. Microsoft also released an implementation of the state machine for WF4 on CodePlex and while that worked quite well … Continue reading WF4 State Machine in the Multi-Targeting Pack for Microsoft .NET Framework 4 Platform Update 1

Scheduling child activities with input parameters

A question on StackOverflow about scheduling child activities with some additional input parameters made me remember that this is kind on not obvious to figure out and even though I new the answer I had to think hard before I could code up a demo. So I figured I might as well post it on my blog for future reference.   The problem is that activities are normally just scheduled and their inputs and outputs are configured using Visual Basic expressions. Most of the time that is just fine and does exactly what you need. However in some cases, as … Continue reading Scheduling child activities with input parameters