Skip to content

Commit c066e68

Browse files
authored
Cover dotnet-serve local testing for Blazor WASM (#37010)
1 parent 29263a2 commit c066e68

File tree

1 file changed

+7
-0
lines changed
  • aspnetcore/blazor/host-and-deploy/webassembly

1 file changed

+7
-0
lines changed

aspnetcore/blazor/host-and-deploy/webassembly/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ The following deployment strategies are supported:
3535

3636
:::moniker-end
3737

38+
## Serve a Blazor WebAssembly app locally for testing
39+
40+
Many open-source and commercial HTTP servers can serve a published Blazor WebAssembly app locally. For a simple command-line HTTP server, consider using the [`natemcmaster/dotnet-serve` .NET tool](https://github.com/natemcmaster/dotnet-serve).
41+
42+
> [!WARNING]
43+
> The [`natemcmaster/dotnet-serve` .NET tool](https://github.com/natemcmaster/dotnet-serve) isn't owned or maintained by Microsoft and isn't covered by any Microsoft support agreement or license. Use caution when using a third-party tool, especially for testing security scenarios. Confirm that the tool follows official specifications and adopts security best practices. Keep the tool's version current to obtain the latest bug fixes.
44+
3845
## Subdomain and IIS sub-application hosting
3946

4047
Subdomain hosting doesn't require special configuration of the app. You ***don't*** need to configure the app base path (the `<base>` tag in `wwwroot/index.html`) to host the app at a subdomain.

0 commit comments

Comments
 (0)