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