Pages

Monday, January 23, 2012

Few checks before deploying an ASP .Net Application

1. Turn Off Debugging in web.config file:

compilation defaultLanguage="C#" debug="false" (enclosed in <>)

2. Check the page directive for all pages make sure tracing is not turned on by removing any Trace="True" attributes.

3.Make sure web.config file contains

customerrors mode="RemoteOnly" (enclosed in <>)

That way detailed error messages won't be misplayed for production users.

No comments:

Post a Comment