static void Main(string[] args) { var runner = new HostRunner("DemoService_QuickStartApi", new ListenerInfo { Port = 8053 }); var exit = runner.RunWebService(); }
static void Main(string[] args) { var runner = new HostRunner <CustomStartup>("DemoService", new ListenerInfo { Port = 8050 }, new ListenerInfo { AllowInvalidCert = true, Port = 8051, SslCertStoreName = StoreName.My, SslCertSubject = "CN=ec2-3-104-124-78.ap-southeast-2.compute.amazonaws.com", UseTls = true }); var exit = runner.RunWebService(LogEventLevel.Debug); }