title: Using different Web.config in development and production environment
body: <p>I need to use different database connection string and SMTP server address in my ASP.NET application depending on it is run in development or production environment. </p>
  
  <p>The application reads settings from Web.config file via <a href="http://msdn.microsoft.com/en-us/library/system.web.configuration.webconfigurationmanager.appsettings.aspx" rel="noreferrer">WebConfigurationManager.AppSettings</a> property.</p>
  
  <p>I use Build/Publish command to deploy the application to production server via FTP and then manually replace remote Web.config with correct one.</p>
  
  <p>Is it possible somehow simplify the process of deployment? Thanks!</p>