IW4M-Admin/WebfrontCore/Program.cs

21 lines
482 B
C#
Raw Normal View History

2018-04-08 02:44:42 -04:00
using System.IO;
2018-02-21 20:29:23 -05:00
using Microsoft.AspNetCore.Hosting;
namespace WebfrontCore
{
public class Program
{
public static void Main(string[] args)
{
2018-04-08 02:44:42 -04:00
BuildWebHost(args).Run();
}
2018-03-09 03:01:12 -05:00
2018-04-08 02:44:42 -04:00
public static IWebHost BuildWebHost(string[] args) =>
new WebHostBuilder()
2018-02-21 20:29:23 -05:00
.UseContentRoot(Directory.GetCurrentDirectory())
2018-04-08 02:44:42 -04:00
.UseKestrel()
2018-02-21 20:29:23 -05:00
.UseStartup<Startup>()
.Build();
}
}