Compare commits
3 Commits
feature/re
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| ba15d111d8 | |||
| cfe1d37724 | |||
| ee08b3388d |
@@ -9,7 +9,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Blueprint.Logging" Version="0.0.1" />
|
<PackageReference Include="Core.Blueprint.Logging" Version="1.0.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.10" />
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.10" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.AzureAppConfiguration" Version="8.0.0" />
|
||||||
|
|||||||
@@ -11,21 +11,21 @@ using System.Reflection;
|
|||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
builder.Configuration.AddAzureAppConfiguration(options =>
|
//builder.Configuration.AddAzureAppConfiguration(options =>
|
||||||
{
|
//{
|
||||||
var endpoint = builder.Configuration.GetSection("Endpoints:AppConfigurationURI").Value;
|
// var endpoint = builder.Configuration.GetSection("Endpoints:AppConfigurationURI").Value;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(endpoint))
|
// if (string.IsNullOrEmpty(endpoint))
|
||||||
throw new ArgumentException("The app configuration is missing");
|
// throw new ArgumentException("The app configuration is missing");
|
||||||
|
|
||||||
options.Connect(new Uri(endpoint), new DefaultAzureCredential())
|
// options.Connect(new Uri(endpoint), new DefaultAzureCredential())
|
||||||
.Select(KeyFilter.Any, "blueprint_api");
|
// .Select(KeyFilter.Any, "blueprint_api");
|
||||||
|
|
||||||
options.ConfigureKeyVault(keyVaultOptions =>
|
// options.ConfigureKeyVault(keyVaultOptions =>
|
||||||
{
|
// {
|
||||||
keyVaultOptions.SetCredential(new DefaultAzureCredential());
|
// keyVaultOptions.SetCredential(new DefaultAzureCredential());
|
||||||
});
|
// });
|
||||||
});
|
//});
|
||||||
|
|
||||||
builder.Services.AddEndpointsApiExplorer();
|
builder.Services.AddEndpointsApiExplorer();
|
||||||
builder.Configuration
|
builder.Configuration
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Blueprint.KeyVault" Version="0.0.1" />
|
<PackageReference Include="Core.Blueprint.KeyVault" Version="1.0.0" />
|
||||||
<PackageReference Include="Blueprint.Storage" Version="0.0.1" />
|
<PackageReference Include="Core.Blueprint.Storage" Version="1.0.1" />
|
||||||
<PackageReference Include="BuildingBlocks.Library" Version="0.0.1" />
|
<PackageReference Include="Lib.Architecture.BuildingBlocks" Version="1.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0" />
|
||||||
<PackageReference Include="Refit" Version="8.0.0" />
|
<PackageReference Include="Refit" Version="8.0.0" />
|
||||||
|
|||||||
9
nuget.config
Normal file
9
nuget.config
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<!-- Tu BaGet primero -->
|
||||||
|
<add key="BaGet" value="https://nuget.dream-views.com/v3/index.json" protocolVersion="3" />
|
||||||
|
<!-- NuGet oficial como fallback (si quieres) -->
|
||||||
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
Reference in New Issue
Block a user