mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-04 22:52:26 +08:00
removed ocelot website project from src and added a manual test project for this, renamed library project to just be ocelot
This commit is contained in:
20
test/Ocelot.ManualTest/Program.cs
Normal file
20
test/Ocelot.ManualTest/Program.cs
Normal file
@ -0,0 +1,20 @@
|
||||
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())
|
||||
.UseIISIntegration()
|
||||
.UseStartup<Startup>()
|
||||
.Build();
|
||||
|
||||
host.Run();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user