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