Skip to content
Docs Try Aspire

AzureMessagingWebPubSubSettings Properties

Class Properties 6 members
Provides the client configuration settings for connecting to Azure Web PubSub.
ConnectionString Section titled ConnectionString nullable string?
Gets or sets the connection string used to connect to the Web PubSub service.
public string? ConnectionString { get; set; }
Credential Section titled Credential nullable TokenCredential?
Gets or sets the credential used to authenticate to the Web PubSub endpoint.
public TokenCredential? Credential { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
Gets or sets a boolean value that indicates whether the Web PubSub health check is disabled or not.
public bool DisableHealthChecks { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }
Endpoint Section titled Endpoint nullable Uri?
Gets or sets the endpoint of the Web PubSub service. This is likely to be similar to "https://{name}.webpubsub.azure.com/".
public Uri? Endpoint { get; set; }
Used along with AzureMessagingWebPubSubSettings.Credential to establish the connection.
HubName Section titled HubName nullable string?
Gets or sets the name of the hub used.
public string? HubName { get; set; }