TS.CleanArchitecture
8.1.6
dotnet new install TS.CleanArchitecture::8.1.6
Clean Architecture
Clean Architecture starter project for ASP.NET Core. Clean Architecture is the latest in a series of architectures aiming towards a loosely-coupled, dependency-inverted architecture. You may also hear it referred to as Hexagonal, ports-and-adapters, or onion architecture.
Table Of Contents
Give a start! ⭐
If you are using or like this project, you can support it by giving a star. Thank you!
Versions
The project currently uses .NET version 8. There is no support for older versions.
Getting Started
This project has been published as a template via a NuGet package. After installing, it will appear in your project list in the "Create New Project" section of VS2022.
To install, you can visit NuGet (https://www.nuget.org/packages/TS.CleanArchitecture)
Or you can install it by running the following code block:
dotnet new install TS.CleanArchitecture
After the installation is complete, you can view the VS2022 project list with dotnet new list
and search for the project template "ASP.NET Clean Architecture Solution" with the short name "ts.cleanarchitecture". If you find it in the list, you can now create a new project via VS2022 and find it by searching for "Clean Architecture" in the project search bar.
After selecting the project, give it any name you want, for example eCommerce
Libraries Used in the Project
- EntityFrameworkCore
- EntityFrameworkCore.Identity
- MediatR
- AutoMapper
- FluentValidation
- TS.Result
- TS.EntityFrameworkCore.GenericRepository
The project is initially configured with MSSQL. If you want to continue with MSSQL, adjust the ConnectionStrings section in the appsetting.json
file according to your settings.
If you want to change the database, you need to change the installed NuGet package in the Infrastructure layer and modify the connection information.
The Login
method and User
class are present in the project. When the project runs, it automatically creates an admin user.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.1.6 | 176 | 9/15/2024 |
8.1.5 | 106 | 9/15/2024 |
8.1.4 | 105 | 9/15/2024 |
8.1.3 | 110 | 8/5/2024 |
8.1.2 | 96 | 7/27/2024 |
8.1.1 | 122 | 7/9/2024 |
8.1.0 | 91 | 7/8/2024 |
8.0.9 | 394 | 4/22/2024 |
8.0.8 | 133 | 4/21/2024 |
8.0.7 | 110 | 4/21/2024 |
8.0.6 | 116 | 4/21/2024 |
8.0.5 | 122 | 4/21/2024 |
8.0.4 | 120 | 4/21/2024 |
8.0.3 | 423 | 4/21/2024 |
8.0.2 | 263 | 4/20/2024 |
8.0.1 | 163 | 4/20/2024 |
8.0.0 | 122 | 4/20/2024 |
Initial release of the project template.