21 lines
482 B
C#
21 lines
482 B
C#
using System.IO;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
namespace WebfrontCore
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
BuildWebHost(args).Run();
|
|
}
|
|
|
|
public static IWebHost BuildWebHost(string[] args) =>
|
|
new WebHostBuilder()
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
.UseKestrel()
|
|
.UseStartup<Startup>()
|
|
.Build();
|
|
}
|
|
}
|