Enterprise Application Architecture with .NET Core
by Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi
Creating the common layer
We will start by creating the common layer first. This layer is the common layer and is referenced by all the other layers. It contains some core classes and helper functions which will be used by each layer. The data access layer will create a database from the entities defined in the common layer. The business layer will use the entities and business objects defined in the common layer to perform data manipulations and the presentation layer will use it to bind the models with the views.
To start with, create a new Class Library (.NET Core) project. Once it is created, we will add a few entities specific to the Tenant Management System:
The following entity will hold user profile information and is derived from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access