# Aspire.Hosting.Blazor

- Package: `Aspire.Hosting.Blazor`
- Version: `13.4.0-preview.1.26281.18`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/becb48e2d61099e35ae336d527d3875e928d6594/src/Aspire.Hosting.Blazor)
- NuGet: [Aspire.Hosting.Blazor](https://www.nuget.org/packages/Aspire.Hosting.Blazor)

## Namespaces

### Aspire.Hosting

- [BlazorGatewayExtensions](/reference/api/csharp/aspire.hosting.blazor/blazorgatewayextensions.md) -- `class` `static` -- Extension methods for adding Blazor WebAssembly apps and gateway resources.
- [BlazorHostedExtensions](/reference/api/csharp/aspire.hosting.blazor/blazorhostedextensions.md) -- `class` `static` -- Extension methods for configuring a Blazor Web App (hosted model) to proxy service calls and telemetry from its WebAssembly client.
- [BlazorWasmAppResource](/reference/api/csharp/aspire.hosting.blazor/blazorwasmappresource.md) -- `class` `sealed` `ats export` -- A resource representing a Blazor WebAssembly application project. This is not a running process -- it's metadata about a WASM project whose static web assets are served through a Gateway. Implements IResourceWithEnvironment so that WithReference() can be used to declare service dependencies (the annotations are read at orchestration time). Implements IResourceWithParent so that the orchestrator mirrors the gateway's lifecycle state (Running, Stopped, etc.) to this child resource automatically.
