One possible way to compose application using OWIN spec

When composing your server apps with OWIN there are many options. OWIN spec is very flexible and it doesn’t  force you into particular application architecture (this is a good thing). So, using standard OWIN middleware components to compose your application is pretty easy and straightforward. I prefer to clearly (at the assembly level) separate middlewareContinue reading “One possible way to compose application using OWIN spec”

Object and Collection Initializers #csharp

I would like to have a way to declare auto property setters as private, but still be able to use them in object initializers. Something like this: class Dog { public int Age { get; private set; } public string Name { get; private set; } } and then be able to do this: DogContinue reading “Object and Collection Initializers #csharp”