public void TestFixtureSetUp() { LogManager.LogFactory = new ConsoleLogFactory(); appHost = new AppHost(); appHost.Init(); appHost.Start("http://*:1337/"); }
public void TestFixtureSetUp() { LogManager.LogFactory = new ConsoleLogFactory(); startedAt = Stopwatch.StartNew(); appHost = new AppHost(); appHost.Init(); appHost.Start(ListeningOn); }
private static void Main(string[] args) { var appHost = new AppHost(); appHost.Init(); appHost.Start("http://*:1337/"); System.Console.WriteLine("Listening on http://localhost:1337/ ..."); System.Console.ReadLine(); System.Threading.Thread.Sleep(System.Threading.Timeout.Infinite); }
public void OnTestFixtureSetUp() { LogManager.LogFactory = new ConsoleLogFactory(); appHost = new AppHost { EnableRazor = false }; appHost.Plugins.Add(new MsgPackFormat()); appHost.Init(); appHost.Start(ListeningOn); }
public void Dispose() { if (appHost == null) return; appHost.Dispose(); appHost = null; }
public void TestFixtureSetUp() { appHost = new AppHost(); appHost.Init(); appHost.Start(ListeningOn); }
public void TestFixtureSetUp() { startedAt = Stopwatch.StartNew(); appHost = new AppHost(); appHost.Init(); appHost.Start("http://*:1337/"); }