Skip to content
DocsTry Aspire
DocsTry

AzureMessagingWebPubSubSettings Properties

ClassProperties6 members
Provides the client configuration settings for connecting to Azure Web PubSub.
ConnectionStringSection titled ConnectionStringnullablestring?
Gets or sets the connection string used to connect to the Web PubSub service.
public string? ConnectionString { get; set; }
CredentialSection titled CredentialnullableTokenCredential?
Gets or sets the credential used to authenticate to the Web PubSub endpoint.
public TokenCredential? Credential { get; set; }
DisableHealthChecksSection titled DisableHealthChecksbool
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; }
EndpointSection titled EndpointnullableUri?
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.
HubNameSection titled HubNamenullablestring?
Gets or sets the name of the hub used.
public string? HubName { get; set; }