# AzureSignalRServiceMode

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.SignalR](/reference/api/csharp/aspire.hosting.azure.signalr.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRServiceMode.cs)

SignalR service service modes

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public enum AzureSignalRServiceMode
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Default | 0 | In default mode, both the client and the hub server connect to SignalR Service and use the service as a proxy |
| Serverless | 1 | In Serverless mode, SignalR Service works with Azure Functions to provide real time messaging capability. Azure Function uses Azure SignalR triggers and bindings to handle messages from the SignalR clients. |
