Clean Architecture - Do you know the best way to get started?

Last updated by Brady Stroud [SSW] 10 days ago.See history

If you're building applications based on .NET Core then the Clean Architecture Solution Template is the best way to get started.

clean architecture solution template
Figure: The Clean Architecture Solution Template by @JasonTaylorDev

The template is designed for creating a Single Page App (SPA) with Angular and ASP.NET Core, but it can easily be used for other .NET Core applications. Create a new project based on this template by visiting https://github.com/jasontaylordev/CleanArchitecture/ and clicking Use this template or by installing the .NET Core Project Template package. To do so, follow these steps:

  1. Install the latest .NET Core SDK
  2. Install the latest Node.js LTS
  3. Run dotnet new --install Clean.Architecture.Solution.Template to install the project template
  4. Create a folder for your solution and cd into it (the template will use it as project name)
  5. Run dotnet new ca-sln to create a new project
  6. Navigate to src/WebUI and run dotnet run to launch the project

If you would like to learn more, review the following blog post: Clean Architecture with .NET Core: Getting Started.

We open source. Powered by GitHub