mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 20:32:49 +08:00
20 lines
422 B
C#
20 lines
422 B
C#
using System.IO;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
namespace Ocelot.ManualTest
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var host = new WebHostBuilder()
|
|
.UseKestrel()
|
|
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
.UseStartup<Startup>()
|
|
.Build();
|
|
|
|
host.Run();
|
|
}
|
|
}
|
|
}
|