Nowadays you could hardly find serious software that does not use one or another form of dependency injection. ASP.NET Web API has been built with this in mind, and in fact it uses a dependency resolution model similar to ASP.NET MVC to resolve its public dependencies. This model allows you to plug in your dependency injection framework of choice.
In this chapter we talk about dependency resolution and its model within ASP.NET Web API. Later on, we look into how to code against the ASP.NET Web API’s dependency resolution model. At the end, we look into implementing dependency resolution model for popular dependency ...