Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

António Vargas - SharePoint 2010


.Net
SharePoint
Silverlight
Using Deployment setting on Production Environment

When i studied for the Microsoft exam (70-562, Microsoft .NET Framework 3.5, ASP.NET Application Development) i found an interesting setting that i didn’t known, the Deployment.

This configuration setting ensures that your application will override important application level settings used when you developed your web application. It will ensure that the following configurations are done:

  • debug is set to false
  • page output tracing is disabled
  • force customErrors to be shown to remote users (it will ensure that the end user only see friendly error messages)

If you want to activate this setting, you need to put the following configuration on the machine.config:

<configuration>

      <system.web>

            <deployment retail="true"/>

      </system.web>

</configuration>

Some references:

Posted: Tuesday, March 02, 2010 5:02 AM by antoniovargas
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS