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