Dotnet

Could Not Load Assembly msshrtmi.dll? Paid Members Public
While migrating a few Azure Cloud Services to Web Jobs, we started facing the error, Could not load assembly ... /msshrtmi.dll,for just one of the projects. The error provides the exact path from where it is trying to load the DLL and is the same path from which the
IsRegistered on Unity Container for Generic Type Paid Members Public
This post just describes a bug that is there in the Unity (3.5.1404) IoC container, when using the IsRegistered extension method, to check for generic types and a possible fix for it.
Testing Multiple Implementations of same Interface Paid Members Public
Often there are times when we need to test multiple implementations of the same interface. We would want to use the same test case against all the implementations so that we don't repeat ourselves. In this post we will see how we can reuse the same test cases

IoC Registration by Convention Paid Members Public
Sometime back we had seen, how to configure the unity container using code/config file and I was using a mix of this in one of my projects. This approach soon became an overhead, as the manual wiring up of registrations is really cumbersome and also error prone. Mostly there
Configuring Unity Container: Comparing Code and Xml Configuration Side by Side Paid Members Public
Setting up dependency containers from code is very easy, but not at all the same when done using a configuration file. The project that I am currently working on uses xml configuration for Unity container and I did struggle mapping certain dependencies, so thought of putting this up. To start

ASP.NET Web API and External Login - Authenticating with Social Networks Paid Members Public
The ASP.NET Web API project created from the default template in Visual Studio 2013 comes with an option to choose the Authentication method. The 'Individual User Accounts' option of authorization will allow users of your API to authenticate using exisitng their exisitng social networks(Facebook, Twitter, Google

Windows Phone Series: Image Caching Library - JetImageLoader Paid Members Public
Recently on a client project, I had a requirement to cache images locally on the phone and then load it from there from subsequent requests. Initially I had plans for custom implementing this using sqlite and custom code. While googling for this, I came across an awesome custom library that

Windows Phone Series: Bing Maps and Turn-by-Turn Navigation Paid Members Public
Many applications today provide features that integrate with users location and provide information on a map based on that. In this blog will see how we can use the Bing maps to show a users current location, search for destination and show route to that location. For this will use