Skip to content
DocsTry Aspire
DocsTry

addAzureWebPubSub

Method
📦 Aspire.Hosting.Azure.WebPubSub v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureWebPubSub(name: string): AzureWebPubSubResource;
}

Signature

methodaddAzureWebPubSubbuilder
Adds an Azure Web PubSub resource to the application model. Change sku: WithParameter("sku", "Standard_S1") Change capacity: WithParameter("capacity", 2)
addAzureWebPubSub(name: string): AzureWebPubSubResource
namestring
AzureWebPubSubResource

Applies to

This method applies to the following types: