73 references to IsHosted
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\AspNetPartialTrustHelpers.cs (1)
106isInPartialTrustOutsideAspNet = !(PartialTrustHelpers.AppDomainFullyTrusted || HostingEnvironment.IsHosted);
System\ServiceModel\Activation\HostingEnvironmentWrapper.cs (1)
35get { return HostingEnvironment.IsHosted; }
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (1)
52if (!HostingEnvironment.IsHosted)
System.Web (66)
Cache\SqlCacheDependency.cs (1)
153if (!System.Web.Hosting.HostingEnvironment.IsHosted) {
CachedPathData.cs (3)
114if (!HostingEnvironment.IsHosted) { 126if (!HostingEnvironment.IsHosted) { 159s_appConfigPathLength = (HostingEnvironment.IsHosted) ? HostingEnvironment.AppConfigPath.Length : WebConfigurationHost.RootWebConfigPath.Length;
Compilation\BuildManager.cs (1)
1160Debug.Assert(HostingEnvironment.IsHosted);
Configuration\serverconfig.cs (1)
137if (!HostingEnvironment.IsHosted) {
Configuration\WebConfigurationHost.cs (3)
118if (HostingEnvironment.IsHosted) { 191else if (HostingEnvironment.IsHosted) { 730if (HostingEnvironment.IsHosted) {
Configuration\WebConfigurationManager.cs (1)
69if (HostingEnvironment.IsHosted) {
DataAccess\SqlConnectionHelper.cs (1)
99if (HostingEnvironment.IsHosted)
Hosting\ApplicationManager.cs (1)
179if (HostingEnvironment.IsHosted)
Hosting\ProcessHost.cs (1)
1325Debug.Assert( HostingEnvironment.IsHosted, "HostingEnvironment.IsHosted" );
HttpRuntime.cs (9)
320Debug.Assert(HostingEnvironment.IsHosted); 333Debug.Assert(!HostingEnvironment.IsHosted); 2427if (HostingEnvironment.IsHosted) { 2469return !HostingEnvironment.IsHosted || TrustLevel != null; 2549Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted, "TrustLevel != null || !HostingEnvironment.IsHosted"); 2580Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2607Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2636Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted); 2679Debug.Assert(TrustLevel != null || !HostingEnvironment.IsHosted);
Profile\HttpProfileBase.cs (4)
221if (HostingEnvironment.IsHosted) 361if (HostingEnvironment.IsHosted) 389bool fAnonEnabled = (HostingEnvironment.IsHosted ? AnonymousIdentificationModule.Enabled : true); 618if (HostingEnvironment.IsHosted)
Profile\ProfileManager.cs (1)
373bool canInitializeDefaultProvider = (!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit);
Profile\SqlProfileProvider.cs (2)
146if (context != null && HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PROFILE_BEGIN, HttpContext.Current.WorkerRequest); 194if (context != null && HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PROFILE_END, HttpContext.Current.WorkerRequest, userName);
Security\ADMembershipProvider.cs (1)
310if (System.Web.Hosting.HostingEnvironment.IsHosted)
Security\AntiXss\AntiXssEncoder.cs (1)
73if (HostingEnvironment.IsHosted) {
Security\AuthStoreRoleProvider.cs (14)
391if ( HostingEnvironment.IsHosted && _XmlFileName != null ) 404if( HostingEnvironment.IsHosted && _XmlFileName != null ) 432if( HostingEnvironment.IsHosted && _XmlFileName != null ) 448if( HostingEnvironment.IsHosted && _XmlFileName != null ) 491if( HostingEnvironment.IsHosted && _XmlFileName != null) { 510if (HostingEnvironment.IsHosted && _XmlFileName != null) { 544if (HostingEnvironment.IsHosted) 562if( HostingEnvironment.IsHosted ) 602if ( HostingEnvironment.IsHosted && _XmlFileName != null ) 647if (HostingEnvironment.IsHosted) 732if( HostingEnvironment.IsHosted && _XmlFileName != null ) 751if( HostingEnvironment.IsHosted && _XmlFileName != null ) 779if( HostingEnvironment.IsHosted && _XmlFileName != null ) 796if( HostingEnvironment.IsHosted && _XmlFileName != null )
Security\Membership.cs (4)
375if (HostingEnvironment.IsHosted) 389(!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit); 461if (HostingEnvironment.IsHosted) { 590if (HostingEnvironment.IsHosted) {
Security\RolePrincipal.cs (3)
101if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) 143if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) 150if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null)
Security\Roles.cs (9)
68if (HostingEnvironment.IsHosted && !HttpRuntime.HasAspNetHostingPermission(AspNetHostingPermissionLevel.Low)) 96if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) 114if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) { 132if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) 153if (HostingEnvironment.IsHosted && EtwTrace.IsTraceEnabled(EtwTraceLevel.Information, EtwTraceFlags.AppSvc) && HttpContext.Current != null) { 491if (HostingEnvironment.IsHosted) 531if (HostingEnvironment.IsHosted) { 552bool canInitializeDefaultProvider = (!HostingEnvironment.IsHosted || BuildManager.PreStartInitStage == PreStartInitStage.AfterPreStartInit); 605if (HostingEnvironment.IsHosted) {
Security\WindowsTokenRoleProvider.cs (1)
192if (HostingEnvironment.IsHosted) {
UI\BaseParser.cs (1)
111if (HostingEnvironment.IsHosted) {
UI\TagNameToTypeMapper.cs (1)
147if (!HostingEnvironment.IsHosted)
Util\AppSettings.cs (1)
165if (!HostingEnvironment.IsHosted) {
Util\SmtpMail.cs (1)
404if (HostingEnvironment.IsHosted) {
System.Web.Entity (2)
System\Data\WebControls\EntityDataSource.cs (1)
275if (!String.IsNullOrEmpty(value) && System.Web.Hosting.HostingEnvironment.IsHosted)
System\Data\WebControls\EntityDataSourceView.cs (1)
1147if (System.Web.Hosting.HostingEnvironment.IsHosted)
System.Web.Extensions (1)
UI\ScriptManager.cs (1)
320if (HostingEnvironment.IsHosted) {
System.WorkflowServices (1)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (1)
33if (!HostingEnvironment.IsHosted)