Compare commits
	
		
			2 Commits
		
	
	
		
			feature/re
			...
			developmen
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 465e5bb1fc | |||
| 889365baa6 | 
| @@ -11,7 +11,7 @@ | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.0" /> | ||||
|     <PackageReference Include="Blueprint.Logging" Version="0.0.1" /> | ||||
|     <PackageReference Include="Core.Blueprint.Logging" Version="1.0.0" /> | ||||
|     <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.7" /> | ||||
|     <PackageReference Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.1.0-preview" /> | ||||
|     <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> | ||||
|   | ||||
| @@ -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); | ||||
|  | ||||
|   | ||||
| @@ -7,18 +7,12 @@ | ||||
|   </PropertyGroup> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <PackageReference Include="Blueprint.KeyVault" Version="0.0.1" /> | ||||
|     <PackageReference Include="Blueprint.Storage" Version="0.0.1" /> | ||||
|     <PackageReference Include="BuildingBlocks.Library" Version="0.0.1" /> | ||||
|     <PackageReference Include="Core.Blueprint.KeyVault" Version="1.0.0" /> | ||||
|     <PackageReference Include="Core.Blueprint.Storage" Version="1.0.1" /> | ||||
|     <PackageReference Include="BuildingBlocks.Library" Version="1.0.0" /> | ||||
|     <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" /> | ||||
|     <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" /> | ||||
|     <PackageReference Include="Refit" Version="8.0.0" /> | ||||
|   </ItemGroup> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <Reference Include="LSA.Core.Adapters"> | ||||
|       <HintPath>..\..\Dependencies\LSA.Core.Adapters.dll</HintPath> | ||||
|     </Reference> | ||||
|   </ItemGroup> | ||||
|  | ||||
| </Project> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user