# AzureSignalRResource Properties

- Package: [Aspire.Hosting.Azure.SignalR](/reference/api/csharp/aspire.hosting.azure.signalr.md)
- Type: [AzureSignalRResource](/reference/api/csharp/aspire.hosting.azure.signalr/azuresignalrresource.md)
- Kind: `Properties`
- Members: `6`

Represents an Azure SignalR resource.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L59-L61)

Gets the connection string template for the manifest for Azure SignalR.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## HostName

- Name: `HostName`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L30)

Gets the "connectionString" output reference from the bicep template for Azure SignalR.

```csharp
public BicepOutputReference HostName { get; }
```

## Id

- Name: `Id`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L40)

Gets the "id" output reference for the resource.

```csharp
public BicepOutputReference Id { get; }
```

## IsEmulator

- Name: `IsEmulator`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L25)

Gets a value indicating whether the Azure SignalR resource is running in the local emulator.

```csharp
public bool IsEmulator { get; }
```

## NameOutputReference

- Name: `NameOutputReference`
- Modifiers: `get`
- Returns: `BicepOutputReference`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L35)

Gets the "name" output reference for the resource.

```csharp
public BicepOutputReference NameOutputReference { get; }
```

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.SignalR/AzureSignalRResource.cs#L51-L53)

Gets the endpoint URI expression for the SignalR service.

```csharp
public ReferenceExpression UriExpression { get; }
```

## Remarks

In container mode (emulator), resolves to the container's endpoint URL. In Azure mode, resolves to the Azure SignalR service endpoint. Format: `https://{hostname}`.
