Learn how to Implement the microservice application layer using the Web API in this article. The application layer can be implemented as part of the artifact (assembly) you are building, such as within a Web API project or an MVC web app project. If you want to separate what is coming from ASP.NET Core from your custom application layer code, you could also place your application layer in a separate class library. ASP.NET Core includes a simple built-in IoC container that supports constructor injection by default, and ASP.NET makes certain services available through DI. Typically, you want to inject dependencies that implement infrastructure objects. In this article, you will learn how to use Dependency Injection to inject infrastructure objects into your application layer. Read on to find out more about the application layer in the Ordering.API ASP.NET Core Web API project and see examples of injecting required repository objects through the constructor.