Skip to main content

DotNet Hexagonal Architecture

Start with Blazor Hero docs

Setup

Install the NuGet package:

dotnet new --install BlazorHero.CleanArchitecture::2.2.0

Install the project template:

dotnet new --install BlazorHero.CleanArchitecture

Install Docker Desktop for Windows.

Dev Certs

Open PowerShell and run the following commands:

dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\aspnetapp.pfx -p [PasswordInTheDockerComposeYmlSetting]
dotnet dev-certs https --trust

Create a new project

Create a folder for your solution and cd into it

docker-compose -f 'docker-compose.yml' up --build