Create a Blazor WASM sample
- Dominant language
- Dockerfile
- Stars
- 4.9k
- Forks
- 2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 26
Description
### Describe the Problem
We currently have samples for standard ASP.NET Core apps. However, Blazor WASM apps are unique in that the build output is a static site, not a `.dll` or executable that can be run with the `dotnet` cli. Our existing ASP.NET Core samples won't work for Blazor WASM apps.
### Describe the Solution
We should create a Blazor WASM sample app and provide example Dockerfiles for building and deploying it using a static web server using IIS, nginx, Apache, or python (or whichever other server, perhaps even a simple .NET one). Additionally, we should point to the Azure and GitHub docs for deploying static sites.
### Additional Context
- Related:
- https://github.com/dotnet/dotnet-docker/pull/5066
- https://github.com/dotnet/dotnet-docker/issues/5033
- https://github.com/dotnet/sdk/issues/37668
- Blazor WASM deployment documentation: https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-8.0#standalone-deployment
Contributor guide
Assessment
This issue has not been assessed yet.