initial commit

This commit is contained in:
Jason Watmore
2018-08-13 20:50:25 +10:00
commit 9b17de4f0e
14 changed files with 374 additions and 0 deletions

20
Program.cs Normal file
View File

@@ -0,0 +1,20 @@
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace WebApi
{
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:4000")
.Build();
}
}