# DotnetProjectResource

- 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)

## Definition

```go
type DotnetProjectResource interface{}
```

## Methods

- [WithBlazorClientApp](/reference/api/go/aspire.hosting.blazor/dotnetprojectresource/withblazorclientapp.md) -- `method` -- Attaches a Blazor WebAssembly app to the gateway. The app's resource name becomes its URL path prefix, and its service references are forwarded to the gateway for proxying.
  ```go
  WithBlazorClientApp(wasmApp BlazorWasmAppResource, options ...*WithBlazorClientAppOptions) DotnetProjectResource
  ```
