4 types derived from RuntimeConfig
System.Web (4)
Configuration\ClientRuntimeConfig.cs (1)
17internal class ClientRuntimeConfig : RuntimeConfig {
Configuration\ErrorRuntimeConfig.cs (1)
16internal class ErrorRuntimeConfig : RuntimeConfig {
Configuration\NullRuntimeConfig.cs (1)
12internal class NullRuntimeConfig : RuntimeConfig {
Configuration\RuntimeConfigLKG.cs (1)
23internal class RuntimeConfigLKG : RuntimeConfig {
1 instantiation of RuntimeConfig
System.Web (1)
CachedPathData.cs (1)
520_runtimeConfig = new RuntimeConfig(configRecord);
196 references to RuntimeConfig
System.Web (196)
Cache\OutputCache.cs (1)
115OutputCacheSection settings = RuntimeConfig.GetAppConfig().OutputCache;
Cache\SqlCacheDependency.cs (2)
668SqlCacheDependencySection config = RuntimeConfig.GetAppConfig().SqlCacheDependency; 683SqlCacheDependencySection config = RuntimeConfig.GetAppConfig().SqlCacheDependency;;
CachedPathData.cs (4)
46RuntimeConfig _runtimeConfig; 56_runtimeConfig = RuntimeConfig.GetErrorRuntimeConfig(); 503Debug.Assert(_runtimeConfig == RuntimeConfig.GetErrorRuntimeConfig(), "_runtimeConfig == RuntimeConfig.GetErrorRuntimeConfig()"); 623internal RuntimeConfig RuntimeConfig {
Compilation\AssemblyBuilder.cs (1)
585TrustSection trustSection = RuntimeConfig.GetAppConfig().Trust;
Compilation\BuildManager.cs (3)
616RuntimeConfig appConfig = RuntimeConfig.GetAppConfig(); 2142CompilationSection compConfig = RuntimeConfig.GetRootWebConfig().Compilation;
Compilation\MultiTargetingUtil.cs (3)
113RuntimeConfig appConfig = RuntimeConfig.GetAppConfig(); 164CompilationSection compConfig = RuntimeConfig.GetAppConfig().Compilation;
Compilation\ResourceExpressionBuilder.cs (1)
257GlobalizationSection globConfig = RuntimeConfig.GetAppConfig().Globalization;
Configuration\AuthenticationConfig.cs (1)
35AuthenticationSection settings = RuntimeConfig.GetAppConfig().Authentication;
Configuration\CustomErrorsSection.cs (3)
203RuntimeConfig runtimeConfig = null; 205runtimeConfig = RuntimeConfig.GetConfig(context); 211runtimeConfig = RuntimeConfig.GetLKGConfig(context);
Configuration\DeploymentSection.cs (1)
64s_retail = RuntimeConfig.GetAppConfig().Deployment.Retail;
Configuration\HandlerBase.cs (1)
293ConnectionStringSettings connObj = RuntimeConfig.GetConfig().ConnectionStrings.ConnectionStrings[connectionString];
Configuration\HealthMonitoringSectionHelper.cs (2)
60_section = RuntimeConfig.GetAppConfig().HealthMonitoring; 71_section = RuntimeConfig.GetAppLKGConfig().HealthMonitoring;
Configuration\HttpCapabilitiesBase.cs (2)
143RuntimeConfig.GetLKGConfig(request.Context).BrowserCaps : RuntimeConfig.GetConfig(request.Context).BrowserCaps;
Configuration\HttpCapabilitiesEvaluator.cs (4)
98public HttpCapabilitiesDefaultProvider() : this(RuntimeConfig.GetAppConfig().BrowserCaps){ 99if (RuntimeConfig.GetAppConfig().BrowserCaps != null) { 100_userAgentCacheKeyLength = RuntimeConfig.GetAppConfig().BrowserCaps.UserAgentCacheKeyLength; 194ClientTargetSection clientTargetConfig = RuntimeConfig.GetConfig(configPath).ClientTarget;
Configuration\MachineKeySection.cs (1)
779s_config = RuntimeConfig.GetAppConfig().MachineKey;
Configuration\MTConfigUtil.cs (11)
40return RuntimeConfig.GetAppConfig().Profile; 48return RuntimeConfig.GetAppConfig().Pages; 56return RuntimeConfig.GetConfig().Pages; 64return RuntimeConfig.GetConfig(vpath).Pages; 72return RuntimeConfig.GetConfig(vpath).Pages; 80return RuntimeConfig.GetConfig(context).Pages; 88return RuntimeConfig.GetConfig().Compilation; 96return RuntimeConfig.GetAppConfig().Compilation; 104return RuntimeConfig.GetConfig(vpath).Compilation; 112return RuntimeConfig.GetConfig(vpath).Compilation; 120return RuntimeConfig.GetConfig(context).Compilation;
Configuration\RuntimeConfig.cs (19)
38static internal RuntimeConfig GetConfig() { 62static internal RuntimeConfig GetConfig(HttpContext context) { 83static internal RuntimeConfig GetConfig(HttpContext context, VirtualPath path) { 106static internal RuntimeConfig GetConfig(string path) { 110static internal RuntimeConfig GetConfig(VirtualPath path) { 127static internal RuntimeConfig GetAppConfig() { 144static internal RuntimeConfig GetRootWebConfig() { 161static internal RuntimeConfig GetMachineConfig() { 178static internal RuntimeConfig GetLKGConfig(HttpContext context) { 179RuntimeConfig config = null; 205static internal RuntimeConfig GetAppLKGConfig() { 206RuntimeConfig config = null; 484private static RuntimeConfig s_clientRuntimeConfig; 488private static RuntimeConfig s_nullRuntimeConfig; 493private static RuntimeConfig s_errorRuntimeConfig; 590static RuntimeConfig GetClientRuntimeConfig() { 599static RuntimeConfig GetNullRuntimeConfig() { 608static internal RuntimeConfig GetErrorRuntimeConfig() { 704static private RuntimeConfig GetLKGRuntimeConfig(VirtualPath path) {
DataAccess\SqlConnectionHelper.cs (3)
80RuntimeConfig config = (appLevel) ? RuntimeConfig.GetAppConfig() : RuntimeConfig.GetConfig();
Handlers\AssemblyResourceLoader.cs (1)
106HttpHandlerAction httpHandler = RuntimeConfig.GetConfig(VirtualPath.Create(webResourcePath)).HttpHandlers.FindMapping("GET", VirtualPath.Create(_webResourceUrl));
Hosting\HostingEnvironment.cs (7)
424HostingEnvironmentSection hostEnvConfig = RuntimeConfig.GetAppLKGConfig().HostingEnvironment; 442ProcessModelSection pmConfig = RuntimeConfig.GetMachineConfig().ProcessModel; 458IdentitySection c = RuntimeConfig.GetAppConfig().Identity; 565HostingEnvironmentSection hostEnvConfig = RuntimeConfig.GetAppLKGConfig().HostingEnvironment; 1749IdentitySection c = RuntimeConfig.GetConfig(virtualPath).Identity; 1768return SetCultures(RuntimeConfig.GetAppLKGConfig().Globalization); 1773return SetCultures(RuntimeConfig.GetConfig(virtualPath).Globalization);
Hosting\ProcessHost.cs (1)
307_protocolsConfig = RuntimeConfig.GetRootWebConfig().Protocols;
HttpApplication.cs (7)
1264HttpHandlersSection map = useAppConfig ? RuntimeConfig.GetAppConfig().HttpHandlers 1265: RuntimeConfig.GetConfig(context).HttpHandlers; 2351HttpModulesSection pconfig = RuntimeConfig.GetAppConfig().HttpModules; 2386RuntimeConfig config = RuntimeConfig.GetAppConfig(); 2634GlobalizationSection globConfig = RuntimeConfig.GetAppConfig().Globalization; 3820UrlMappingsSection urlMappings = RuntimeConfig.GetConfig().UrlMappings;
HttpBufferlessInputStream.cs (1)
46HttpRuntimeSection section = RuntimeConfig.GetConfig(_context).HttpRuntime;
HttpCachePolicy.cs (2)
940RuntimeConfig config = RuntimeConfig.GetLKGConfig(response.Context);
HttpContext.cs (7)
714_asyncPreloadModeFlags = RuntimeConfig.GetConfig(this).HttpRuntime.AsyncPreloadMode; 1515internal RuntimeConfig GetRuntimeConfig() { 1519internal RuntimeConfig GetRuntimeConfig(VirtualPath path) { 1705HttpRuntimeSection cfg = RuntimeConfig.GetConfig(this).HttpRuntime; 2018IdentitySection c = RuntimeConfig.GetConfig(this).Identity; 2138IdentitySection c = RuntimeConfig.GetConfig(this).Identity; 2153IdentitySection c = RuntimeConfig.GetConfig(this).Identity;
HttpCookie.cs (1)
85HttpCookiesSection config = RuntimeConfig.GetConfig().HttpCookies;
HttpPostedFile.cs (1)
105HttpRuntimeSection config = RuntimeConfig.GetConfig().HttpRuntime;
HttpRequest.cs (7)
955ApplyFilter(ref _rawContent, RuntimeConfig.GetConfig(_context).HttpRuntime.RequestLengthDiskThresholdBytes); 972HttpRuntimeSection cfg = RuntimeConfig.GetConfig(_context).HttpRuntime; 1332GlobalizationSection globConfig = RuntimeConfig.GetLKGConfig(_context).Globalization; 2610RuntimeConfig config = RuntimeConfig.GetConfig(Context); 2666char [] invalidChars = RuntimeConfig.GetConfig(Context).HttpRuntime.RequestPathInvalidCharactersArray; 2902HttpRuntimeSection config = RuntimeConfig.GetConfig(_context).HttpRuntime;
HttpResponse.cs (12)
347RuntimeConfig config = RuntimeConfig.GetLKGConfig(_context); 398RuntimeConfig config = RuntimeConfig.GetLKGConfig(_context); 805HttpRuntimeSection runtimeConfig = RuntimeConfig.GetLKGConfig(_context).HttpRuntime; 852OutputCacheSection outputCacheConfig = RuntimeConfig.GetAppConfig().OutputCache; 1172GlobalizationSection globConfig = RuntimeConfig.GetLKGConfig(_context).Globalization; 1706GlobalizationSection globConfig = RuntimeConfig.GetLKGConfig(_context).Globalization; 1736GlobalizationSection globConfig = RuntimeConfig.GetLKGConfig(_context).Globalization; 1778GlobalizationSection globConfig = RuntimeConfig.GetLKGConfig(_context).Globalization; 3305RuntimeConfig.GetLKGConfig(_context).HttpRuntime : RuntimeConfig.GetConfig(_context).HttpRuntime;
HttpRuntime.cs (24)
667ProcessModelSection processModel = RuntimeConfig.GetMachineConfig().ProcessModel; 776RuntimeConfig appLKGConfig = RuntimeConfig.GetAppLKGConfig(); 779RuntimeConfig appConfig = null; 781appConfig = RuntimeConfig.GetAppConfig(); 1039RuntimeConfig config = RuntimeConfig.GetAppConfig(); 1099HttpRuntimeSection runtimeConfig = RuntimeConfig.GetAppConfig().HttpRuntime; 1110TraceSection traceConfig = RuntimeConfig.GetAppConfig().Trace; 1130CompilationSection compConfig = RuntimeConfig.GetAppConfig().Compilation; 1145IdentitySection c = RuntimeConfig.GetAppConfig().Identity; 1207ProcessModelSection pmConfig = RuntimeConfig.GetMachineConfig().ProcessModel; 1286HttpRuntimeSection runtimeConfig = RuntimeConfig.GetAppConfig().HttpRuntime; 1309ProcessModelSection pmConfig = RuntimeConfig.GetMachineConfig().ProcessModel; 1327GlobalizationSection globConfig = RuntimeConfig.GetAppLKGConfig().Globalization; 1339RuntimeConfig appConfig = RuntimeConfig.GetAppConfig(); 1347HttpRuntimeSection runtimeConfig = RuntimeConfig.GetAppConfig().HttpRuntime; 1963HttpRuntimeSection runtimeConfig = RuntimeConfig.GetAppLKGConfig().HttpRuntime; 2165HttpRuntimeSection config = RuntimeConfig.GetAppLKGConfig().HttpRuntime; 2233RuntimeConfig runtimeConfig = RuntimeConfig.GetAppLKGConfig(); 3522RuntimeConfig config = RuntimeConfig.GetAppConfig();
ImplicitAsyncPreloadModule.cs (1)
60|| (contentLength = request.ContentLength) > RuntimeConfig.GetConfig(context).HttpRuntime.MaxRequestLengthBytes
Management\webeventbuffer.cs (1)
136HealthMonitoringSection section = RuntimeConfig.GetAppLKGConfig().HealthMonitoring;
OutputCacheModule.cs (1)
497OutputCacheSection cacheConfig = RuntimeConfig.GetAppConfig().OutputCache;
Security\ADMembershipProvider.cs (3)
3130RuntimeConfig config = (appLevel) ? RuntimeConfig.GetAppConfig() : RuntimeConfig.GetConfig();
Security\AnonymousIdentificationModule.cs (1)
318AnonymousIdentificationSection settings = RuntimeConfig.GetAppConfig().AnonymousIdentification;
Security\AuthStoreRoleProvider.cs (1)
99sec1 = RuntimeConfig.GetAppConfig().ConnectionStrings;
Security\FileAuthorizationModule.cs (1)
74HttpModulesSection modulesSection = RuntimeConfig.GetConfig().HttpModules;
Security\FormsAuthentication.cs (2)
98AuthenticationSection settings = RuntimeConfig.GetAppConfig().Authentication; 327AuthenticationSection settings = RuntimeConfig.GetAppConfig().Authentication;
Security\Membership.cs (3)
398RuntimeConfig appConfig = RuntimeConfig.GetAppConfig(); 444private static bool InitializeSettings(bool initializeGeneralSettings, RuntimeConfig appConfig, MembershipSection settings) {
Security\PassportAuthenticationModule.cs (1)
132AuthenticationSection settings = RuntimeConfig.GetAppConfig().Authentication;
Security\Roles.cs (2)
72RoleManagerSection config = RuntimeConfig.GetAppConfig().RoleManager; 494RoleManagerSection settings = RuntimeConfig.GetAppConfig().RoleManager;
Security\SQLMembershipProvider.cs (1)
1988RuntimeConfig.GetAppConfig().Membership.ThrowHashAlgorithmException();
Security\UrlAuthorizationModule.cs (5)
80HttpModulesSection modulesSection = RuntimeConfig.GetConfig().HttpModules; 103AuthorizationSection settings = RuntimeConfig.GetConfig(vPath).Authorization; 140AuthorizationSection settings = RuntimeConfig.GetConfig(context).Authorization; 169AuthorizationSection settings = RuntimeConfig.GetConfig(context).Authorization; 180AuthorizationSection settings = RuntimeConfig.GetConfig(context, virtualPath).Authorization;
SiteMap.cs (2)
43SiteMapSection config = RuntimeConfig.GetAppConfig().SiteMap; 105SiteMapSection config = RuntimeConfig.GetAppConfig().SiteMap;
State\OutOfProcStateClientManager.cs (1)
85SessionStateSection config = RuntimeConfig.GetAppConfig().SessionState;
State\SessionIDManager.cs (1)
100SessionStateSection config = RuntimeConfig.GetAppConfig().SessionState;
State\SessionStateModule.cs (2)
406SessionStateSection config = RuntimeConfig.GetAppConfig().SessionState; 435s_configExecutionTimeout = RuntimeConfig.GetConfig().HttpRuntime.ExecutionTimeout;
State\sqlstateclientmanager.cs (1)
131SessionStateSection config = RuntimeConfig.GetAppConfig().SessionState;
ThreadContext.cs (1)
298GlobalizationSection globConfig = RuntimeConfig.GetConfig(HttpContext).Globalization;
UI\Control.cs (9)
205EffectiveClientIDModeValue = RuntimeConfig.GetConfig(context).Pages.ClientIDMode; 208EffectiveClientIDModeValue = RuntimeConfig.GetConfig().Pages.ClientIDMode; 965xhtmlConformanceSection = RuntimeConfig.GetConfig(context).XhtmlConformance; 968xhtmlConformanceSection = RuntimeConfig.GetConfig().XhtmlConformance; 1002private RuntimeConfig RuntimeConfig { 1007return RuntimeConfig.GetConfig(context); 1009return RuntimeConfig.GetConfig(); 2802RuntimeConfig config = RuntimeConfig.GetConfig();
UI\HtmlForm.cs (1)
464if (page != null && httpWriter != null && RuntimeConfig.GetConfig(Context).Pages.RenderAllHiddenFieldsAtTopOfForm) {
UI\Page.cs (5)
3543RuntimeConfig config; 3545config = RuntimeConfig.GetAppConfig(); 3970PagesSection pagesSection = RuntimeConfig.GetConfig(Context).Pages; 4664if (!RuntimeConfig.GetAppConfig().WebParts.EnableExport) { 4960if (!RuntimeConfig.GetAppConfig().WebParts.EnableExport) {
UI\PartialCachingControl.cs (1)
351if (_cachingDisabled || !RuntimeConfig.GetAppConfig().OutputCache.EnableFragmentCache) {
UI\SessionPageStatePersister.cs (1)
128SessionPageStateSection cfg = RuntimeConfig.GetConfig(Page.Request.Context).SessionPageState;
UI\Util.cs (2)
170GlobalizationSection globConfig = RuntimeConfig.GetConfig(configPath).Globalization; 325string location = (string) RuntimeConfig.GetAppConfig().WebControls["clientScriptsLocation"];
UI\WebControls\MailDefinition.cs (1)
239System.Net.Configuration.SmtpSection smtpSection = RuntimeConfig.GetConfig().Smtp;
UI\WebControls\TableItemStyle.cs (1)
61return (RuntimeConfig.GetAppConfig().XhtmlConformance.Mode == XhtmlConformanceMode.Legacy);
UI\WebParts\PersonalizationAdministration.cs (1)
64WebPartsSection webPartsSection = RuntimeConfig.GetAppConfig().WebParts;
UI\WebParts\PersonalizationProvider.cs (1)
153WebPartsSection configSection = RuntimeConfig.GetConfig().WebParts;
UI\WebParts\WebPartManager.cs (2)
578_usePermitOnly = RuntimeConfig.GetAppConfig().Trust.LegacyCasModel; 1755WebPartsSection configSection = RuntimeConfig.GetConfig().WebParts;
UrlMappingsModule.cs (2)
18UrlMappingsSection urlMappings = RuntimeConfig.GetConfig().UrlMappings; 35UrlMappingsSection urlMappings = RuntimeConfig.GetAppConfig().UrlMappings;
Util\HttpEncoder.cs (2)
139RuntimeConfig config = RuntimeConfig.GetAppConfig();
Util\RequestValidator.cs (2)
44RuntimeConfig config = RuntimeConfig.GetAppConfig();