public string executeRequest(string page) { "executing request".info(); createHost(); return(WebServerHost.ProcessRequest(page)); //return WebServerHost_.invoke("ProcessRequest", page).str(); }
public void createHost() { //if (WebServerHost.isNull()) { var o2Timer = new O2Timer("Creating WebServer host").start(); WebServerHost = (WebServerHost)ApplicationHost.CreateApplicationHost(typeof(WebServerHost), "/", WebRootDir); //WebServerHost = ApplicationHost.CreateApplicationHost(typeof(WebServerHost), "/", WebRootDir); o2Timer.stop(); } }