Which is the best place to store connectionstring in .NET projects

Q

Which is the best place to store connectionstring in .NET projects ?

✍: Guest

A

Config files are the best places to store connectionstrings. If it is a web-based application “Web.config” file will be used and if it is a windows application “App.config” files will be used.

2007-10-24, 4714👍, 0💬