blazor-wasm-boilerplate

(β˜… 550)

Clean Architecture Boilerplate Template for .NET 6.0 Blazor WebAssembly built for FSH WebAPI with the goodness of MudBlazor Components.

  • .dockerignore
  • .editorconfig
  • .gitignore
  • Directory.Build.props
  • Directory.Build.targets
  • Dockerfile
  • dotnet.ruleset
  • FSH.BlazorWebAssembly.nuspec
  • FSH.BlazorWebAssembly.sln
  • global.json
  • icon.png
  • LICENSE
  • README.md
  • stylecop.json

# Installation Guide

1. Get the code
git clone https://github.com/fullstackhero/blazor-wasm-boilerplate

Downloads the entire project code from GitHub to your computer.

cd blazor-wasm-boilerplate

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t blazor-wasm-boilerplate .

Builds a runnable image based on the Dockerfile.

docker run -p 8080:80 blazor-wasm-boilerplate

Runs the built image as an actual container.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

3. .NET

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
dotnet new --install FullStackHero.BlazorWebAssembly.Boilerplate

Type this command into your terminal and run it.

dotnet new --install FullStackHero.BlazorWebAssembly.Boilerplate::0.0.1-rc

Type this command into your terminal and run it.

dotnet new --install FullStackHero.WebAPI.Boilerplate::0.0.6-rc

Type this command into your terminal and run it.

βœ… After dotnet run, check the message or address shown in the terminal.

Pulled directly from this repo's README.

// repository documentation