Home
This nuget package can be used to create a "Clean Architecture" project, eighter with or without sample code. There are different options (api, web, blazer) which will be explained in detail here.
A dotnet core template to start a clean architecture project. There are many ways of implementing Clean Architecture and the aim of this project is simple: help people to get an idea of the project setup.
To install the template so you can use it with dotnet new
, open a command prompt and type the following command:
dotnet new --install JacobsApps.CleanArchitectureProjectTemplate.CSharp
This will install the new template. The next step is to start a new project:
dotnet new cleanarchitectureproject -n SomeFancyNamespace
After creating a cleanarchitectureproject
a solution will be created with a number of projects:
Please read the other pages in this wiki to learn more about Clean Architecture and the theory behind the structure of this project. For now, just start the project and look around. There are two "UI's" for this project: an MVC.NET project and an WebApi project.