Creating the Application Layer

For the application layer, we need to create another project.

Follow these steps to start creating the application layer:

  1. Create another project, as follows:

This project will contain the application service as well as the necessary interfaces required for the external world.
  1. We add the reference of RestBuy to RestBuy.Application, as follows:

  1. Next, we will start to define our interfaces. For starters, let's define an IQuery<T> interface in Services/Queries (create these folders if they don't exist) folder ...

Get ASP.NET Core 2 Fundamentals 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.