You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/ApiGateway/Program.cs

25 lines
662 B

using Bumblebee;
using System;
namespace ApiGateway
{
internal class Program
{
private static Gateway gateway;
private static void Main(string[] args)
{
gateway = new Gateway();
gateway.HttpOptions(o =>
{
o.Port = 80;
o.LogToConsole = true;
o.LogLevel = BeetleX.EventArgs.LogType.All;
});
Console.WriteLine("http://localhost/__system/bumblebee/routes.html");
gateway.Open();
gateway.LoadPlugin(typeof(Bumblebee.Configuration.Management).Assembly);
Console.Read();
}
}
}