Using NInject with ASP.net MVC4 – Step-By-Step

Dependency Injection – an Introduction
I have always been a big fan of using DI and NInject has been my favorite Dependency Injection tool because of the ease and flexibility it offers for integrating it with any project/solution.  (Note:  Other DI tools that are worth considering for .net applications are Structure Map, Castle Windsor and Unity).  However, this blog is aimed at helping novice users to configure NInject with ASP.NET MVC4 and get started with using DI to achieve Separation Of Concerns (SOC).

Continue reading

5,586 total views, 28 views today

E-Book Gallery for Microsoft Technologies

E-Book Gallery from Microsoft is one of the best resources compiled on different topics/tools and technologies from Microsoft and acts as a one stop shop to download resources for pleasure reading on the latest and greatest of stuff.

There’s tons of PDF’s on each topic ranging from Lync, Office, SharePoint, SQL Server, Office 365, Azure etc.,

Happy reading. :)

683 total views, no views today

Could not load file or assembly ‘Ninject, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7’ or one of its dependencies.

Today when I was doing some research with “NInject” on an empty ASP.NET MVC application, I got the following error.

Could not load file or assembly ‘Ninject, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Continue reading

4,603 total views, 3 views today

The remote server returned an error: (404) Not Found. No service is hosted at the specified address.

When I was exploring the Service Bus for Windows Server, I got the below error

“The remote server returned an error: (404) Not Found. No service is hosted at the specified address..TrackingId…………………… Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException”

Continue reading

4,153 total views, 2 views today