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.
The application reads settings from Web.config file via WebConfigurationManager.AppSettings property.
I use Build/Publish command to deploy the application to production server via FTP and then manually replace remote Web.config with correct one.
Is it possible somehow simplify the process of deployment? Thanks!