FluentValidation with ASP.NET Web API 2 and Castle Windsor

Olav Nybø

Proper validation of input to REST APIs is important and if you also can provide good error messages in case of erronous input you will make the API a lot easer to use for the consumers of your API. Using FluentValidation doing validation and error messages becomes very simple. Combined…

Only use factories if you really need to control the lifetime of the created objects

Olav Nybø

On the project I am currently working on we need to implement various processes consisting of a series of steps. We have created some reusable classes based on the command pattern. Using these classes we can implement very complex processes in a very readable way. Below is an example of…