REORG
This commit is contained in:
parent
8d68ee380a
commit
45514010f2
3505 changed files with 154 additions and 523 deletions
22
src/Org/Program.cs
Normal file
22
src/Org/Program.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
using Microsoft.AspNetCore;
|
||||
using Yavsc.Extensions;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static async Task Main(string[] args)
|
||||
{
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
builder.Configuration
|
||||
.AddJsonFile("appsettings.json")
|
||||
.AddJsonFile($"appsettings.{builder.Environment.EnvironmentName}.json", optional: true)
|
||||
.AddEnvironmentVariables()
|
||||
.Build();
|
||||
var app = await builder.ConfigureWebAppServices().ConfigurePipeline();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue