Dependency Injection in Web API using NInject

ASP.NET provides an extension point (IDependencyResolver) in the web API framework, which allows us to resolve the dependencies of the web API controller. Let's see where and how it can be used in real life. Generally, it is a common practice that one or some repository objects is used in the web api controller which takes care … Continue reading Dependency Injection in Web API using NInject