예제 #1
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
        public void OnTestFixtureSetUp()
        {
            LogManager.LogFactory = new ConsoleLogFactory();

            appHost = new AppHost { EnableRazor = false };
            appHost.Plugins.Add(new MsgPackFormat());
            appHost.Init();
            appHost.Start(ListeningOn);
        }
예제 #5
0
 public void Dispose()
 {
     if (appHost == null) return;
     appHost.Dispose();
     appHost = null;
 }
예제 #6
0
 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/");
 }