# AzureWebPubSubHubResource Properties

- Package: [Aspire.Hosting.Azure.WebPubSub](/reference/api/csharp/aspire.hosting.azure.webpubsub.md)
- Type: [AzureWebPubSubHubResource](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubhubresource.md)
- Kind: `Properties`
- Members: `3`

Represents an Azure Web PubSub Hub setting resource.

## ConnectionStringExpression

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

Gets the connection string template for the manifest for Azure Web PubSub.

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

## HubName

- Name: `HubName`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubHubResource.cs)

Gets the name associated with the Azure Web PubSub Hub.

```csharp
public string HubName { get; set; }
```

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [AzureWebPubSubResource](/reference/api/csharp/aspire.hosting.azure.webpubsub/azurewebpubsubresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.WebPubSub/AzureWebPubSubHubResource.cs#L33)

Gets the parent AzureWebPubSubResource of this AzureWebPubSubHubSettingResource.

```csharp
public AzureWebPubSubResource Parent { get; }
```
