awesome-compose/samples/aspnet-mssql/backend/aspnetapp/Program.cs
Anca Iordache 5417ecf9f2 add aspnet-mssql application sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-05 18:49:27 +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>();
}
}