CHAPTER 10

image

Creating and Configuring a Web API Application

In this chapter, I create the example application that I use for all the chapters in this part of the book. I show you how to perform basic configuration and set up dependency injection to create loosely coupled components. In short, this chapter sets the foundation for the more detailed topics that follow so that I don’t have to create a new example application in each chapter.

That said, dependency injection for Web API applications is an interesting topic in its own right because it is an example of the kinds of problems that arise when designing applications that have Web API and MVC ...

Get Expert ASP.NET Web API 2 for MVC Developers 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.