|
| 1 | +# C# - ASP.NET .NET Core MVC - Simple CRUD Example Application with Repository and Unit of Work Pattern. [Year of Development: 2019 and 2020] |
| 2 | + |
| 3 | +About the application technologies and operation: |
| 4 | + |
| 5 | +### Technologies: |
| 6 | +- Programming Language: C# |
| 7 | +- FrontEnd Side: ASP.NET MVC - .NET Core 2.2 |
| 8 | +- BackEnd Side: .NET Core 2.2 |
| 9 | +- Descriptive Language: HTML5 |
| 10 | +- Style Description Language: CSS (Bootstrap 4.3.1) |
| 11 | +- Database: SQLite In Memory Provider (Code First Database Migration) |
| 12 | +- Other used modul: |
| 13 | + - ASP.NET Identity Core |
| 14 | + - SQLite In Memory Provider |
| 15 | + |
| 16 | +### Application solution structure: |
| 17 | +- **SimpleCRUDExample**: |
| 18 | + - Includes the FrontEnd Side of the application. |
| 19 | + - Includes IoC DI Registers, with separate configuration files. |
| 20 | + - Includes Middlewares. |
| 21 | +- **Data.DataAccessLayer**: |
| 22 | + - Includes the Database Context. |
| 23 | + - Includes the Database Entities. |
| 24 | +- **Core.ApplicationCore**: |
| 25 | + - Includes classes and interfaces required for Generic Repository Pattern. |
| 26 | + - Includes classes and interfaces required for Unity of Work. |
| 27 | + - Includes classes and interfaces required for BackEndException Handler. |
| 28 | +- **Core.Common**: |
| 29 | + - Includes the DTOs used for the application. |
| 30 | +- **Business.Engine**: |
| 31 | + - Includes the necessary classes and interfaces to implement Business Logic. |
| 32 | + - Each Controller has it's own BL interface and class. |
| 33 | + |
| 34 | +### Installation/ Configuration: |
| 35 | + |
| 36 | +1. Restore necessary Packages on the selected project, run the following command in **PM Console** |
| 37 | + |
| 38 | + ``` |
| 39 | + Update-Package -reinstall |
| 40 | + ``` |
| 41 | + |
| 42 | +### About the application: |
| 43 | + |
| 44 | +The purpose of the web application is to list, create, modify an d delete Formula One Teams. The creation, modification and deletion are only possible after login! |
| 45 | + |
| 46 | +The Formula One team as an entity, has the following characteristics: Name, Year of Establishment, Number of World Championships Won and Have you paid the entry fee. |
| 47 | + |
| 48 | +#### The application shows the following: |
| 49 | +- How to implement **Generic Repository Pattern**. |
| 50 | +- How to implement **Generic Unit of Work Pattern**. |
| 51 | +- How to use **IoC Container** in **ASP.NET Core**. |
| 52 | +- How to implement **Middlewares** in **ASP.NET Core**. |
| 53 | +- How to separate **IoC Container Configurations** in **ASP.NET Core**. |
| 54 | +- How to implement and register and using **AutoMapper** in **ASP.NET Core**. |
0 commit comments