How use applicationSettings in the new web.config configuration in VS2010?
        Posted  
        
            by citronas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by citronas
        
        
        
        Published on 2010-04-02T19:44:15Z
        Indexed on 
            2010/05/12
            8:44 UTC
        
        
        Read the original article
        Hit count: 502
        
I'm used to use web deployment projects. Currently I am developing a new web application with VS2010 and want to try to get along with the new web.config principle and deployment issues.
How can I replace a simple setting like
<applicationSettings>
  <NAMESPACE>
   <setting name="Testenvironment" serializeAs="String">
    <value>True</value>
   </setting>
  </NAMESPACE>
</applicationSettings>
I want to have this setting to be set to True in Debug, and false in Release. How must the entries in the Web.Debug.config and Web.Release.Config look like?
And by the way: Is there some documentation about the new web.config issue? Can't seem to google for the correct keywords.
© Stack Overflow or respective owner