AspNetCore.Docs/aspnetcore/security/key-vault-configuration/sample/Program.cs

25 lines
602 B
C#

using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
namespace KeyVaultConfigProviderSample
{
public static class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.ConfigureLogging(factory =>
{
factory.AddConsole(LogLevel.Debug);
})
.UseKestrel()
.UseIISIntegration()
.UseStartup<Startup>()
.Build();
host.Run();
}
}
}