public void Init() { try { appHost = new AppHost(); appHost.Init(); EndpointHost.Config.DebugMode = true; appHost.Start("http://*:1337/"); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public void Init() { try { appHost = new AppHost(); appHost.Init(); appHost.Config.DebugMode = true; appHost.Start("http://*:1337/"); } catch (Exception ex) { ex.ToString().Print(); } }
public void Init() { try { appHost = new AppHost(); appHost.Init(); appHost.Config.DebugMode = true; appHost.Start(Config.ListeningOn); } catch (Exception ex) { ex.ToString().Print(); } }
public void Init() { try { LogManager.LogFactory = null; appHost = new AppHost(); appHost.Init(); appHost.Start(Config.ListeningOn); appHost.Config.DebugMode = true; } catch (Exception ex) { ex.ToString().Print(); } }
public void Can_start_Listener_and_call_GetFactorial_WebService() { var appHost = new AppHost(); appHost.Init(); appHost.Start(ListeningOn); System.Console.WriteLine("AppHost Created at {0}, listening on {1}", DateTime.Now, ListeningOn); var client = new XmlServiceClient(ListeningOn); var request = new GetFactorial { ForNumber = 3 }; var response = client.Send <GetFactorialResponse>(request); Assert.That(response.Result, Is.EqualTo(GetFactorialService.GetFactorial(request.ForNumber))); }
public ExceptionHandlingTestsAsync() { appHost = new AppHost(); appHost.Init(); appHost.Start(Config.ListeningOn); }
public void TestFixtureSetUp() { appHost = new AppHost(); appHost.Init(); appHost.Start(Config.AbsoluteBaseUri); }
public void OnTestFixtureSetUp() { appHost = new AppHost(); appHost.Init(); appHost.Start(Config.ListeningOn); }