Archives
-
Upcoming talks: Microsoft Tech Ed South Africa
In just a couple of weeks I'll be in Durban, South Africa presenting three sessions at Tech Ed. These are the sessions:
-
HttpContext.IsCustomErrorEnabled - One of ASP.NET's hidden gems
Calling a property a gem might be a bit of an exaggeration, but this particular property is still rather valuable. In many situations a developer wants to enable a feature or part of a feature only for debugging and testing purposes. The IsCustomErrorEnabled property combines three values to tell you whether custom errors are enabled for a particular request. This isn't as simple as reading the web.config file to check the <customErrors> section. There's a bit more going on behind the scenes to truly determine whether custom errors are enabled.