Dotnet

Could Not Load Assembly msshrtmi.dll? 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

IsRegistered on Unity Container for Generic Type 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.

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

Testing Multiple Implementations of same Interface 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

IoC Registration by Convention 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

Configuring Unity Container: Comparing Code and Xml Configuration Side by Side 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

ASP.NET Web API and External Login - Authenticating with Social Networks 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

Windows Phone Series: Image Caching Library - JetImageLoader 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet

Windows Phone Series: Bing Maps and Turn-by-Turn Navigation 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

Rahul Pulikkot Nath
Rahul Pulikkot Nath
Dotnet