> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# WebAssemblyHostBuilder

> Extension methods for WebAssemblyHostBuilder from Microsoft.AspNetCore.Components.WebAssembly

## Definition

**Assembly:** Microsoft.AspNetCore.Components.WebAssembly.dll

**Namespace:** Microsoft.AspNetCore.Components.WebAssembly.Hosting

## Syntax

```csharp theme={"dark"}
Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder
```

## Summary

This type is defined in Microsoft.AspNetCore.Components.WebAssembly.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.components.webassembly.hosting.webassemblyhostbuilder) for more information about the rest of the API.

## Methods

### &#x20;UseIndexedDbMessagePublisher Extension

> [!NOTE]
>
> Extension method from `Microsoft.AspNetCore.Components.WebAssembly.Hosting.SimpleMessageBus_Publish_IndexedDb_WebAssemblyHostBuilderExtensions`

#### Syntax

```csharp theme={"dark"}
public static void UseIndexedDbMessagePublisher(Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder builder, string configSectionName = "SimpleMessageBus:IndexedDb", System.Action<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions> indexedDbOptions = null)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `builder` | `Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder` | - |
| `configSectionName` | `string` | - |
| `indexedDbOptions` | `System.Action<CloudNimble.SimpleMessageBus.IndexedDb.Core.IndexedDbOptions>` | - |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.