53 references to Current
System.ServiceModel (53)
System\ServiceModel\Activation\AspNetCompatibilityRequirementsAttribute.cs (1)
51
AspNetEnvironment.
Current
.ValidateCompatibilityRequirements(RequirementsMode);
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
71
instance.SetProperty(AdministrationStrings.ServiceConfigPath, AspNetEnvironment.
Current
.ConfigurationPath);
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3418
AspNetEnvironment.
Current
.EnsureAllReferencedAssemblyLoaded();
System\ServiceModel\Channels\HttpChannelListener.cs (2)
187
AspNetEnvironment.
Current
.ValidateHttpSettings(virtualPath, isMetadataListener, this.usingDefaultSpnList, ref this.authenticationScheme, ref this.extendedProtectionPolicy, ref this.realm);
840
AspNetEnvironment env = AspNetEnvironment.
Current
;
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
127
useHostedClientCertificateMapping = AspNetEnvironment.
Current
.ValidateHttpsSettings(virtualPath, ref this.requireClientCertificate);
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (1)
131
AspNetEnvironment.
Current
.ApplyHostedContext(listener, context);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (5)
615
(AspNetEnvironment.
Current
.IsMetadataListener(bindingParameters) &&
625
AspNetEnvironment.
Current
.AspNetCompatibilityEnabled &&
626
AspNetEnvironment.
Current
.IsSimpleApplicationHost &&
627
AspNetEnvironment.
Current
.IsWindowsAuthenticationConfigured())
660
AspNetEnvironment.
Current
.ApplyHostedContext(listener, context);
System\ServiceModel\Channels\MsmqTransportBindingElement.cs (1)
170
AspNetEnvironment.
Current
.ApplyHostedContext(msmqListener, context);
System\ServiceModel\Channels\NamedPipeTransportBindingElement.cs (1)
134
AspNetEnvironment.
Current
.ApplyHostedContext(listener, context);
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
801
IAspNetMessageProperty hostingProperty = AspNetEnvironment.
Current
.GetHostingProperty(message);
System\ServiceModel\Channels\ServiceChannel.cs (6)
1569
AspNetEnvironment.
Current
.IncrementBusyCount();
1570
if (AspNetEnvironment.
Current
.TraceIncrementBusyCountIsEnabled())
1572
AspNetEnvironment.
Current
.TraceIncrementBusyCount(this.GetType().FullName);
1585
AspNetEnvironment.
Current
.DecrementBusyCount();
1586
if (AspNetEnvironment.
Current
.TraceDecrementBusyCountIsEnabled())
1588
AspNetEnvironment.
Current
.TraceDecrementBusyCount(this.GetType().FullName);
System\ServiceModel\Channels\TcpTransportBindingElement.cs (1)
189
AspNetEnvironment.
Current
.ApplyHostedContext(listener, context);
System\ServiceModel\Channels\TransportChannelListener.cs (1)
404
BaseUriWithWildcard baseAddress = AspNetEnvironment.
Current
.GetBaseUri(this.Scheme, this.Uri);
System\ServiceModel\Configuration\ConfigurationHelpers.cs (3)
155
retval = AspNetEnvironment.
Current
.GetConfigurationSection(sectionPath);
187
retval = AspNetEnvironment.
Current
.UnsafeGetConfigurationSection(sectionPath);
265
object retval = AspNetEnvironment.
Current
.UnsafeGetConfigurationSection(sectionPath);
System\ServiceModel\Description\ConfigLoader.cs (1)
1490
return AspNetEnvironment.
Current
.IsWebConfigAboveApplication(contextInformation.HostingContext);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
549
AspNetEnvironment.
Current
.ProcessNotMatchedEndpointAddress(listenUri, endpoint.Binding.Name);
633
AspNetEnvironment.
Current
.AddHostingBehavior(serviceHost, description);
System\ServiceModel\Description\ServiceDescription.cs (1)
141
AspNetEnvironment.
Current
.EnsureCompatibilityRequirements(serviceDescription);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
418
AspNetEnvironment.
Current
.AddMetadataBindingParameters(listenUriBaseAddress, owner.Description.Behaviors, parameters);
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
1086
hostReference = AspNetEnvironment.
Current
.GetAnnotationFromHost(context.Host);
1092
hostReference = AspNetEnvironment.
Current
.GetAnnotationFromHost(null);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
403
AspNetEnvironment.
Current
.PrepareMessageForDispatch(request.RequestMessage);
System\ServiceModel\Dispatcher\MessageRpc.cs (5)
144
this.HostingProperty = AspNetEnvironment.
Current
.GetHostingProperty(request, true);
712
if (AspNetEnvironment.
Current
.TraceIncrementBusyCountIsEnabled())
714
AspNetEnvironment.
Current
.TraceIncrementBusyCount(SR.GetString(SR.ServiceBusyCountTrace, this.Operation.Action));
724
if (AspNetEnvironment.
Current
.TraceDecrementBusyCountIsEnabled())
726
AspNetEnvironment.
Current
.TraceDecrementBusyCount(SR.GetString(SR.ServiceBusyCountTrace, this.Operation.Action));
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (5)
93
if (AspNetEnvironment.
Current
.RequiresImpersonation)
182
AspNetEnvironment.
Current
.RequiresImpersonation ||
205
if (isSecurityContextImpersonationOn || AspNetEnvironment.
Current
.RequiresImpersonation)
248
else if (AspNetEnvironment.
Current
.RequiresImpersonation)
310
if (IsSecurityContextImpersonationRequired(ref rpc) || AspNetEnvironment.
Current
.RequiresImpersonation)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (6)
998
AspNetEnvironment.
Current
.IncrementBusyCount();
999
if (AspNetEnvironment.
Current
.TraceIncrementBusyCountIsEnabled())
1001
AspNetEnvironment.
Current
.TraceIncrementBusyCount(this.GetType().FullName);
1014
AspNetEnvironment.
Current
.DecrementBusyCount();
1015
if (AspNetEnvironment.
Current
.TraceDecrementBusyCountIsEnabled())
1017
AspNetEnvironment.
Current
.TraceDecrementBusyCount(this.GetType().FullName);
System\ServiceModel\ServiceHost.cs (3)
1010
AuthenticationSchemes hostSupportedAuthenticationSchemes = AspNetEnvironment.
Current
.GetAuthenticationSchemes(this.baseAddresses[serviceEndpoint.ListenUri.Scheme]);
1204
AspNetEnvironment.
Current
.IncrementBusyCount();
1230
AspNetEnvironment.
Current
.DecrementBusyCount();