2021-06-05 21:07:05 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2021-05-28 20:52:56 +00:00
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
|
|
|
|
namespace Retroactiune
|
|
|
|
{
|
2021-06-05 21:07:05 +00:00
|
|
|
[ExcludeFromCodeCoverage]
|
2021-07-17 12:55:22 +00:00
|
|
|
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
|
2021-05-28 20:52:56 +00:00
|
|
|
public class Program
|
|
|
|
{
|
|
|
|
public static void Main(string[] args)
|
|
|
|
{
|
|
|
|
CreateHostBuilder(args).Build().Run();
|
|
|
|
}
|
|
|
|
|
2021-07-17 12:55:22 +00:00
|
|
|
private static IHostBuilder CreateHostBuilder(string[] args) =>
|
2021-05-28 20:52:56 +00:00
|
|
|
Host.CreateDefaultBuilder(args)
|
2021-07-17 12:55:22 +00:00
|
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
|
|
{
|
|
|
|
webBuilder.UseSentry();
|
|
|
|
webBuilder.UseStartup<Startup>();
|
|
|
|
});
|
2021-05-28 20:52:56 +00:00
|
|
|
}
|
|
|
|
}
|