Configuration Tips

The following sections illustrate some recommended configuration settings that you might consider in developing your ASP.NET applications.

Handling Errors Redirection

During development, it is useful that when an error occurs in a page, you are redirected to a page that includes a stack trace, which might include the offending code. Figure 32.5 shows an example of this page.

Figure 32.5. Error Page.

This, however, is not what you would want exposed when in a product application. This is not to say that you don’t want your users to know that an error occurred—they should know this. You don’t want to be ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.