CHAPTER 14

image

Dependency Resolution

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 ...

Get Pro ASP.NET Web API: HTTP Web Services in ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.