21 references to GetSection
System.Configuration (2)
System\Configuration\Configuration.cs (2)
101return (AppSettingsSection) GetSection("appSettings"); 107return (ConnectionStringsSection) GetSection("connectionStrings");
System.ServiceModel (3)
System\ServiceModel\Configuration\BindingsSection.cs (1)
166return (BindingsSection)config.GetSection(ConfigurationStrings.BindingsSectionGroupPath);
System\ServiceModel\Configuration\StandardEndpointsSection.cs (1)
81return (StandardEndpointsSection)config.GetSection(ConfigurationStrings.StandardEndpointsSectionPath);
System\ServiceModel\ServiceHost.cs (1)
1906ServicesSection servicesSection = (ServicesSection)configuration.GetSection(ConfigurationStrings.ServicesSectionPath);
System.Web (15)
Configuration\MTConfigUtil.cs (3)
182return config.GetSection("system.web/compilation") as S; 185return config.GetSection("system.web/pages") as S; 188return config.GetSection("system.web/profile") as S;
Hosting\ApplicationManager.cs (8)
986HttpRuntimeSection httpRuntimeSection = (HttpRuntimeSection)appConfig.GetSection("system.web/httpRuntime"); 1074CacheSection cacheConfig = (CacheSection)appConfig.GetSection("system.web/caching/cache"); 1096DeploymentSection deploymentSection = (DeploymentSection)appConfig.GetSection("system.web/deployment"); 1113TrustSection trustSection = (TrustSection)appConfig.GetSection("system.web/trust"); 1131SecurityPolicySection securityPolicySection = (SecurityPolicySection)appConfig.GetSection("system.web/securityPolicy"); 1132CompilationSection compilationSection = (CompilationSection)appConfig.GetSection("system.web/compilation"); 1133FullTrustAssembliesSection fullTrustAssembliesSection = (FullTrustAssembliesSection)appConfig.GetSection("system.web/fullTrustAssemblies"); 1160PartialTrustVisibleAssembliesSection partialTrustVisibleAssembliesSection = (PartialTrustVisibleAssembliesSection)appConfig.GetSection("system.web/partialTrustVisibleAssemblies");
Hosting\HostingEnvironment.cs (1)
1462CacheSection cacheConfig = (CacheSection)webConfig.GetSection("system.web/caching/cache");
Hosting\ProcessHost.cs (1)
310_protocolsConfig = (ProtocolsSection) c.GetSection("system.web/protocols");
Management\regiisutil.cs (2)
287return config.GetSection(configSection); 317return config.GetSection(configSection);
System.Web.Services (1)
System\Web\Services\Configuration\WebServicesSection.cs (1)
162return (WebServicesSection)config.GetSection(WebServicesSection.SectionName);