# Aspire.Hosting.Azure.SignalR

- Module: `Aspire.Hosting.Azure.SignalR`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `3`
- Types: `3`

## Types

- [AzureSignalREmulatorResource](/reference/api/typescript/aspire.hosting.azure.signalr/azuresignalremulatorresource.md) -- `handle` - 0 members
- [AzureSignalRResource](/reference/api/typescript/aspire.hosting.azure.signalr/azuresignalrresource.md) -- `handle` - 1 members

## Functions

- [addAzureSignalR](/reference/api/typescript/aspire.hosting.azure.signalr/addazuresignalr.md) -- `method` -- Adds an Azure SignalR resource to the application model.
- [runAsEmulator](/reference/api/typescript/aspire.hosting.azure.signalr/runasemulator.md) -- `method` -- Configures an Azure SignalR resource to be emulated. This resource requires an Azure SignalR resource to be added to the application model. Please note that the resource will be emulated in Serverless mode.
- [withSignalRRoleAssignments](/reference/api/typescript/aspire.hosting.azure.signalr/withsignalrroleassignments.md) -- `method` -- Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure SignalR resource. This replaces the default role assignments for the resource.

## Enums

- [AzureSignalRRole](/reference/api/typescript/aspire.hosting.azure.signalr/azuresignalrrole.md) -- `enum` - 3 values -- Represents ATS-compatible Azure SignalR roles.
