diff --git a/Core.Blueprint.Service.API/Program.cs b/Core.Blueprint.Service.API/Program.cs index 97aefa3..9f38320 100644 --- a/Core.Blueprint.Service.API/Program.cs +++ b/Core.Blueprint.Service.API/Program.cs @@ -10,21 +10,21 @@ using System.Text.Json.Serialization; var builder = WebApplication.CreateBuilder(args); -builder.Configuration.AddAzureAppConfiguration(options => -{ - var endpoint = builder.Configuration.GetSection("Endpoints:AppConfigurationURI").Value; +//builder.Configuration.AddAzureAppConfiguration(options => +//{ +// var endpoint = builder.Configuration.GetSection("Endpoints:AppConfigurationURI").Value; - if (string.IsNullOrEmpty(endpoint)) - throw new ArgumentException("The app configuration is missing"); +// if (string.IsNullOrEmpty(endpoint)) +// throw new ArgumentException("The app configuration is missing"); - options.Connect(new Uri(endpoint), new DefaultAzureCredential()) - .Select(KeyFilter.Any, "blueprint_service"); +// options.Connect(new Uri(endpoint), new DefaultAzureCredential()) +// .Select(KeyFilter.Any, "blueprint_service"); - options.ConfigureKeyVault(keyVaultOptions => - { - keyVaultOptions.SetCredential(new DefaultAzureCredential()); - }); -}); +// options.ConfigureKeyVault(keyVaultOptions => +// { +// keyVaultOptions.SetCredential(new DefaultAzureCredential()); +// }); +//}); builder.Services.AddLogs(builder);