Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RunAsEmulator

Method
📦 Aspire.Hosting.Azure.WebPubSub v17.0.0
func (AzureWebPubSubResource) RunAsEmulator(options ...*RunAsEmulatorOptions) AzureWebPubSubResource

Signature

methodRunAsEmulatorbuilder
Configures Azure Web PubSub to run locally using the emulator container.
RunAsEmulator(options ...*RunAsEmulatorOptions) AzureWebPubSubResource
options...*RunAsEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsEmulatorOptions argument.

ConfigureContainerfunc(obj AzureWebPubSubEmulatorResource)callbackAn optional callback to configure the emulator container.
AzureWebPubSubResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: