StaticSphere.CleanArchitecture.Api
2.1.0
dotnet new install StaticSphere.CleanArchitecture.Api::2.1.0
Clean Architecture Template
This dotnet new
solution template was created following the guidelines of the Clean Architecture pattern as demonstrated by Jason Taylor in his Clean Architecture talks and posts. While the solution starts there, there are some opinionated coding patterns added in on top of the architecture that help to ease testing and maintenance.
Original Clean Architecture Resources
-
net6.0
- 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.
Renamed the Entity Framework class (if --includeEf is specified) to ApplicationDbContext. However, you can
provide the optional --dbContextName to change this. You'll want to add DbContext as a suffix to this name
if you want it. Fixed broken --includeTests parameter (before, it would always include tests). Added removal
of Server header to the Program.cs file. Included usage of IPrincipalService; you can remove it if you don't
want or need it. Updated unit tests. Cleaned up existing code. Added additional unit tests for the API and
application projects.