We recently experimented our production site with two connection strings (Say MainConnectionString and ReportConnectionString) , first one for the Database1 and the other for Database2. Both databases and the application are in the Azure cloud. Database2 was a just an replication of Database1. We did this experiment to see any performance improvements if all the reports uses a replicated copy of database specified in the ReportConnectionString. Unfortunately we couldn't gain anything from this experiment and keeping a replication database is costly.
We are now removing the Database2 and keep only Database1 for the production environment.
My query is, instead of changing the code to pull out the usage of ReportConnectionString from all the reports, is it a good idea to keep the ReportConnectionString and change the connection string to connect to Database1. Thus both connection strings will look at the same database. What are the ramifications of this. Just want to avoid the overhead of modifying the code for Reports to use MainConnectionString
connection stringin Application settings instead of.config file. And if you save them in Application Settings, then you can define the 2 connection strings there, and read the value as per your need dynamically.