Skip to content
Docs Try Aspire

AzureAppConfigurationExtensions

Class static net10.0
📦 Aspire.Hosting.Azure.AppConfiguration v13.1.2
Provides extension methods for adding the Azure AppConfiguration resources to the application model.
namespace Aspire.Hosting;
public static class AzureAppConfigurationExtensions
{
// ...
}
AddAzureAppConfiguration(IDistributedApplicationBuilder, string)extension
IResourceBuilder<AzureAppConfigurationResource>
Adds an Azure App Configuration resource to the application model.
RunAsEmulator(IResourceBuilder<AzureAppConfigurationResource>, Action<IResourceBuilder<AzureAppConfigurationEmulatorResource>>)extension
IResourceBuilder<AzureAppConfigurationResource>
WithDataBindMount(IResourceBuilder<AzureAppConfigurationEmulatorResource>, string?)extension
IResourceBuilder<AzureAppConfigurationEmulatorResource>
Adds a bind mount for the storage of an Azure App Configuration emulator resource.
WithDataVolume(IResourceBuilder<AzureAppConfigurationEmulatorResource>, string?)extension
IResourceBuilder<AzureAppConfigurationEmulatorResource>
Adds a named volume for the data folder to an Azure App Configuration emulator resource.
WithHostPort(IResourceBuilder<AzureAppConfigurationEmulatorResource>, int?)extension
IResourceBuilder<AzureAppConfigurationEmulatorResource>
Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
WithRoleAssignments(IResourceBuilder<T>, IResourceBuilder<AzureAppConfigurationResource>, AppConfigurationBuiltInRole[])extension
IResourceBuilder<T>
Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure App Configuration resource. This replaces the default role assignments for the resource.
View all methods