# BlazorWasmAppResource

- Module: [Aspire.Hosting.Blazor](/reference/api/go/aspire.hosting.blazor.md)
- Version: `17.0.0-preview.1.26565.2`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

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.

## Definition

```go
type BlazorWasmAppResource interface {
    Resource
    ResourceWithEnvironment
    ResourceWithParent
}
```

## Embeds

- `Resource`
- `ResourceWithEnvironment`
- `ResourceWithParent`

## Methods

- [WithBlazorDebuggerBrowser](/reference/api/go/aspire.hosting.blazor/blazorwasmappresource/withblazordebuggerbrowser.md) -- `method` -- Configures the browser launched when starting a debug session for the Blazor WebAssembly app. The value is read when the debugger is registered on the gateway, so call this before `WithBlazorClientApp` or `WithBlazorClientApp` attaches the app.
  ```go
  WithBlazorDebuggerBrowser(options ...*WithBlazorDebuggerBrowserOptions) BlazorWasmAppResource
  ```
