Skip to content
Docs Try Aspire

AzureStorageExplorerBuilderExtensions Methods

Class Methods 1 member
Provides extension methods for adding Azure Storage Explorer resources to the application model.
WithHostPort(IResourceBuilder<AzureStorageExplorerResource>, int?) Section titled WithHostPort(IResourceBuilder<AzureStorageExplorerResource>, int?) extension IResourceBuilder<AzureStorageExplorerResource>
Configures the host port that the Azure Storage Explorer resource is exposed on instead of using randomly assigned port.
public static class AzureStorageExplorerBuilderExtensions
{
public static IResourceBuilder<AzureStorageExplorerResource> WithHostPort(
this IResourceBuilder<AzureStorageExplorerResource> builder,
int? port)
{
// ...
}
}
builder IResourceBuilder<AzureStorageExplorerResource> The resource builder for Azure Storage Explorer.
port int? The port to bind on the host. If null is used random port will be assigned.
IResourceBuilder<AzureStorageExplorerResource> The resource builder for Azure Storage Explorer.