If I am to have connectionstrings read from a config file in my application and I need to be able to change the connectionstrings as the application is moved from dev to uat to prod should I be using settings files at all as there the connection strings are compiled into the assembly which I will be moving from environment to environment making the initial connection strings obsolete?
What is the best practice here?
Edit:
I am asking in general as I have both webservices as well as smartclient apps.