AzureServiceBusExtensions.WithConfigurationFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a bind mount for the configuration file of an Azure Service Bus emulator resource.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureServiceBusEmulatorResource> WithConfigurationFile(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureServiceBusEmulatorResource> builder, string path);
static member WithConfigurationFile : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureServiceBusEmulatorResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureServiceBusEmulatorResource>
<Extension()>
Public Function WithConfigurationFile (builder As IResourceBuilder(Of AzureServiceBusEmulatorResource), path As String) As IResourceBuilder(Of AzureServiceBusEmulatorResource)
Parameters
The builder for the AzureServiceBusEmulatorResource.
- path
- String
Path to the file on the AppHost where the emulator configuration is located.
Returns
A reference to the IResourceBuilder<T>.