|  |  |  | @@ -13,21 +13,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_dal"); | 
		
	
		
			
				|  |  |  |  | //    options.Connect(new Uri(endpoint), new DefaultAzureCredential()) | 
		
	
		
			
				|  |  |  |  | //    .Select(KeyFilter.Any, "blueprint_dal"); | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  |     options.ConfigureKeyVault(keyVaultOptions => | 
		
	
		
			
				|  |  |  |  |     { | 
		
	
		
			
				|  |  |  |  |         keyVaultOptions.SetCredential(new DefaultAzureCredential()); | 
		
	
		
			
				|  |  |  |  |     }); | 
		
	
		
			
				|  |  |  |  | }); | 
		
	
		
			
				|  |  |  |  | //    options.ConfigureKeyVault(keyVaultOptions => | 
		
	
		
			
				|  |  |  |  | //    { | 
		
	
		
			
				|  |  |  |  | //        keyVaultOptions.SetCredential(new DefaultAzureCredential()); | 
		
	
		
			
				|  |  |  |  | //    }); | 
		
	
		
			
				|  |  |  |  | //}); | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | builder.Services.AddEndpointsApiExplorer(); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddSwaggerGen(); | 
		
	
	
		
			
				
					
					|  |  |  | @@ -40,10 +40,10 @@ builder.Services.AddProblemDetails(); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddMemoryCache(); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddLogs(builder); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddKeyVault(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddBlobStorage(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddRedis(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddMongoLayer(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddSQLServer(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | //builder.Services.AddBlobStorage(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | //builder.Services.AddRedis(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | //builder.Services.AddMongoLayer(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | //builder.Services.AddSQLServer(builder.Configuration); | 
		
	
		
			
				|  |  |  |  | builder.Services.AddDALLayerServices(builder.Configuration); | 
		
	
		
			
				|  |  |  |  |  | 
		
	
		
			
				|  |  |  |  | builder.Host.ConfigureServices((context, services) => | 
		
	
	
		
			
				
					
					|  |  |  |   |