awesome-compose/aspnet-mssql/app/aspnetapp/Program.cs
Esteban Solano Granados 8119ab4025 Updated MVC app to .NET 5
Signed-off-by: GitHub <noreply@github.com>
2021-05-18 04:39:02 +00:00

21 lines
530 B
C#

using System;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using aspnetapp;
using Microsoft.Extensions.Hosting;
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>();
});
}