Skip to content
/ dotnet-blazor-base Public template

Based MudBlazor server-rendered solution with artifacts to build and deploy as docker container to Azure Container Apps.

License

Notifications You must be signed in to change notification settings

thbst16/dotnet-blazor-base

Repository files navigation

dotnet-blazor-base

Build Status Docker Image Version (latest by date)

This is the base MudBlazor server-rendered project from which all other beckshome blazor projects are derived. This project includes a basic MudBlazor application generated using MudBlazor.Templates. The application is dockerized and deployed onto Azure Container Apps using Azure DevOps.

Notional Architecture

The key focus of this project, beyond the standard MudBlazor application, is the dockerizing process and deployment of the dockerized application to Azure Container Apps using Azure DevOps. The figure below represents these critical steps, highlighting the artifacts in this project responsible for each of these key activities.

Blazor Deployment

Running the Application

Ther are several ways to run the application. It is available directly online. Alternately, you can build and run the docker instance locally or run the docker instance from the DockerHub repo. To build and run the Docker instance locally:

docker build -t blazor-base -f Dockerfile .
docker run -d -p 5001:80 blazor-base

To run directly from DockerHub:

docker run -d -p 5001:80 thbst16/blazor-base

Either way, to kill the container when you're done:

docker ps
docker kill CONTAINER_NAME

Motivation and Credits

About

Based MudBlazor server-rendered solution with artifacts to build and deploy as docker container to Azure Container Apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published