Category: refactorCode
-
Connections strings to config
I have the opportunity to work on some pretty old code . There were many projects,all that had a sort of connection string to the database. This kind of code were in like > 11 places : string connectionstring = “Data Source=.\\SqlServer;Initial Catalog=myDB;Integrated Security=SSPI;”; The task was to modify this in something that could read…