As you probably know ASP.NET 5 uses dependency injection from the ground up. It's unlike previous releases where higher level frameworks such as MVC, WebAPI or SignalR provided their own extension points to hook your DI container of choice in. In the new release dependency injection is going to be used throughout the stack from infrastructure and middleware to higher »
.NET applications traditionally relied on `System.Configuration` components for accessing and managing configurations from the machine wide settings down to application and user settings. The new release of .NET revisits the configuration story by bringing on a brand new configuration framework... »
Principals and design approaches that we have seen in OWIN specification and some of its implementations (for Microsoft servers and frameworks the most notable is Katana) found their way into ASP.NET 5. In this post I want to focus on one of the core concepts which is middleware. »
In this post I want to give you another example of automating DevOps activities. This time we're going update configuration settings of a running Azure cloud service. I am talking about settings we specify in .cscfg files. »
Configuration management is an important part of running and evolving public facing services when down time is not tolerated and you need maximum flexibility in adjusting settings of running services. Implementing External Configuration Store Pattern opens up some great possibilities for you like... »
Azure cloud service web roles have one peculiarity in regard to the way your code is hosted. The thing is although you have a single project associated with your web role it will actually be run in two separate processes. »
I was reviewing a rather big pull request lately and felt very uncomfortable as there were quite a few changes and additions but I didn’t see any tests. When reviewing code you don’t always follow the actual code logic but rather seek for evidence of best practices and proven principals being respected. One such proven practice is unit testing. »
When using SLAB out-of-process service you may run into situation when events are not being logged. You make sure you call proper methods on your custom event sources but the events seem to go nowhere. It turns out that most likely you have an issue in your event sources. They (and/or ETW infrastructure) are too sensitive to errors like duplicate »
I have been asked this question recently and for a moment I was at a loss to come up with a short answer because the topic is big! We practice code reviews every day in our team and everyone is encouraged to participate to advise and learn at the same time. These days thanks to tools like Stash it is »
In my previous post I provided a sample implementation of the Priority Queue pattern that was multiplexing messages from several queues through a dispatcher to a limited number of worker threads. While the basic idea looks good there were a couple of issues... »