Quote Originally Posted by Dave Sell View Post
So the best place to store a connection string is... The registry?
Is that supposed to be a joke?
Quote Originally Posted by jmcilhinney
The Registry should generally be avoided in .NET applications unless you have a specific need to use it.
Quote Originally Posted by jmcilhinney
Connection strings can be stored in the config file and encrypted if required.
Quote Originally Posted by jmcilhinney
Microsoft recommend against using the Registry because it is getting overloaded and has become unwieldy.
Quote Originally Posted by jmcilhinney
.NET has added the configuration system specifically for .NET apps to use to store configuration information.