private MetabaseServerConfig() { HttpRuntime.ForceStaticInit(); this._mapPathCacheLock = new object(); this.MBGetSiteNameFromSiteID("1", out this._defaultSiteName); this._siteIdForCurrentApplication = HostingEnvironment.SiteID; if (this._siteIdForCurrentApplication == null) { this._siteIdForCurrentApplication = "1"; } }
private MetabaseServerConfig() { HttpRuntime.ForceStaticInit(); // force webengine.dll to load // Get the default site information bool found = MBGetSiteNameFromSiteID(DEFAULT_SITEID, out _defaultSiteName); _siteIdForCurrentApplication = HostingEnvironment.SiteID; if (_siteIdForCurrentApplication == null) { _siteIdForCurrentApplication = DEFAULT_SITEID; } }
static ProcessHostServerConfig() { HttpRuntime.ForceStaticInit(); }
static ExpressServerConfig() { HttpRuntime.ForceStaticInit(); }
static ProcessHostMapPath() { HttpRuntime.ForceStaticInit(); }
static ProcessHostConfigUtils() { HttpRuntime.ForceStaticInit(); }