retroactiune/Retroactiune.WebAPI/Program.cs

19 lines
535 B
C#
Raw Normal View History

using System.Diagnostics.CodeAnalysis;
2021-05-28 20:52:56 +00:00
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Retroactiune
{
[ExcludeFromCodeCoverage]
2021-05-28 20:52:56 +00:00
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>(); });
}
}