Where is the best place to store the connection string?
I think the best place to store the connection string is the Web.Config File if you are developing a Web Application or the App.Config File if you are developing a Windows Application.
you have more than one way to store your connection string 1- in app.config or web.config 2- in windows registery (i recommend) 3- also can store it in encrypted text file
Not to mention, encryption is mandatory!
ReplyDeleteyou have more than one way to store your connection string
ReplyDelete1- in app.config or web.config
2- in windows registery (i recommend)
3- also can store it in encrypted text file
mmm .. I can see nobody talked about storing it in the settings section underneath your project properties section
ReplyDelete