12 February 2013

Before You Deploy Your Web Application (Part 1)

You developed a web application. You tested it. Now, you're ready to deploy it.

But before you publish your web application to the web server, I suggest you check first these 3 minor configurations:

1. Make sure the web.config file contains this line:

<customErrors mode=”RemoteOnly” />

That way detailed error pages won’t be displayed to users.



2. Turn off debugging in the web.config file:

<compilation defaultLanguage=”C#” debug=”false” />

3. Make sure tracing is not turned on by removing any trace=”True” attributes in every page.


Of course there are other things that you need to consider before you make your application ready for production. I will post them here soon.

No comments:

Post a Comment