BareApplicationHost CreateHost(string appId, string vpath, string ppath) { BareApplicationHost host; host = (BareApplicationHost)ApplicationHost.CreateApplicationHost(typeof(BareApplicationHost), vpath, ppath); host.Manager = this; host.AppID = appId; id_to_host [appId] = host; return(host); }