/// <summary> /// Refreshes the config. /// </summary> private void RefreshConfig() { string configurationPath = HostingEnvironment.MapPath("/web.config"); var configurationFile = new FileInfo(configurationPath); _ruleSet = new MicrosoftRuleSet(configurationFile); }