retroactiune/Retroactiune.WebAPI/Program.cs

17 lines
466 B
C#
Raw Normal View History

2021-05-28 20:52:56 +00:00
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Retroactiune
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });
}
}