protected internal void SetUpConfig(HttpRequest request) { _prerenderSetting = ConfigHelper.PreRenderSetting; _domainSetting = ConfigHelper.PreRenderSetting.GetDomainSetting(request.Url.Authority); }
public static void Initialize(string rootFolderPath) { PreRenderSetting = XmlSerializerHelper.ToObj <PreRenderSetting>(GetXml(rootFolderPath, "Prerender.config")); MailHelper.Initialize(PreRenderSetting.MailNotifySetting); }