示例#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 TestFixtureSetUp()
 {
     LogManager.LogFactory = new ConsoleLogFactory();
     startedAt             = Stopwatch.StartNew();
     appHost = new AppHost {
         EnableRazor = true, //Uncomment for faster tests!
     };
     appHost.Plugins.Add(new MsgPackFormat());
     //Fast
     appHost.Init();
     EndpointHost.Config.DebugMode = true;
     appHost.Start(ListeningOn);
 }
 public void TestFixtureSetUp()
 {
     appHost = new AppHost();
     appHost.Init();
     appHost.Start(ListeningOn);
 }
        public void OnTestFixtureSetUp()
        {
            LogManager.LogFactory = new ConsoleLogFactory();

            appHost = new AppHost { EnableRazor = false };
            appHost.Plugins.Add(new MsgPackFormat());
            appHost.Init();
            appHost.Start(ListeningOn);
        }
 public void TestFixtureSetUp()
 {
     startedAt = Stopwatch.StartNew();
     appHost = new AppHost();
     appHost.Init();
     appHost.Start("http://*:1337/");
 }