Export (0) Print
Expand All

HostingEnvironment.IsDevelopmentEnvironment Property

.NET Framework 4.5

Gets a value that indicats whether the current application is in a development environment.

Namespace:  System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public static bool IsDevelopmentEnvironment { get; }

Property Value

Type: System.Boolean
true if the application is in a development environment; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft