Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (18 sloc) 467 Bytes
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace NHLStats.Api
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseUrls("http://localhost:5000/")
.Build();
}
}
You can’t perform that action at this time.