public HomeModule(UIBackend uiBackend) { Get["/"] = x => { return(View["Index"]); }; }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); LoggerFactory.SetDefault <Logger>(); UIBackend = new UIBackend(); UIBackend.Start(@"/../../../Octgn.WebApp"); linkLabel1.Text = "http://localhost:" + UIBackend.Port + "/"; Process.Start("http://localhost:" + UIBackend.Port + "/"); }