I have just joined a project that has a connection string which is defined in the Settings.Designer.cs file and also defined in the web.config file. When I need to look at a different instance of my DB I have to modify both values. I am unfamilier with why the Settings.Designer.cs file is being used. What is the value of using Settings.Designer.cs vs web.config? Assuming I can remove one of the connection string entries...should it be removed from Settings.Designer.cs or from web.config?
+1
A:
Being a Winforms guy myself, and now working on a web project, my guess is that the Settings.Designer.cs was being used by a winforms guy working on a website :)
I would probably blow away the connection string in Settings.Designer.cs
taylonr
2010-08-18 15:06:32
@Taylor...thanks. That does sound plausible. I was wondering if there was a hidden reason for it. :) Let's see how other folks chime in.
MikeTWebb
2010-08-18 17:21:43