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

24 lines
631 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;//http://localhost/__system/bumblebee/routes.html
o.LogToConsole = true;
o.LogLevel = BeetleX.EventArgs.LogType.Error;
});
gateway.Open();
gateway.LoadPlugin(typeof(Bumblebee.Configuration.Management).Assembly);
Console.Read();
}
}
}