Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
Jacob Duijzer edited this page Mar 11, 2020 · 17 revisions

Introduction

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.

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

The new project

After creating a cleanarchitectureproject a solution will be created with a number of projects:

Screenshot of the new project

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.

Clone this wiki locally