24 lines
No EOL
700 B
C#
24 lines
No EOL
700 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
namespace Retroactiune
|
|
{
|
|
[ExcludeFromCodeCoverage]
|
|
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
CreateHostBuilder(args).Build().Run();
|
|
}
|
|
|
|
private static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
Host.CreateDefaultBuilder(args)
|
|
.ConfigureWebHostDefaults(webBuilder =>
|
|
{
|
|
webBuilder.UseSentry();
|
|
webBuilder.UseStartup<Startup>();
|
|
});
|
|
}
|
|
} |