awesome-compose/samples/aspnet-mssql/app/aspnetapp/Program.cs
Anca Iordache 9c829ac4ba update asp.net-mssql sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-06 17:44:39 +01:00

25 lines
607 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace aspnetapp
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>();
}
}