示例#1
0
        public static void WithManagedIdentity(AzureAppConfigurationOptions options)
        {
            options.ConnectWithManagedIdentity(AzureAppConfiguration.ManagedIdentityEndpoint);

            if (AzureAppConfiguration.UseLabel)
            {
                options.Use(KeyFilter.Any, AzureAppConfiguration.Label);
            }
        }
示例#2
0
        public static void WithConnectionString(AzureAppConfigurationOptions options)
        {
            options.Connect(AzureAppConfiguration.ConnectionString);

            if (AzureAppConfiguration.UseLabel)
            {
                options.Use(KeyFilter.Any, AzureAppConfiguration.Label);
            }
        }