in one of the application i have been reffering connection string is stored in appsettings! till now i have been storeing the connection in <connectionstring/>
element. But, what is the correct way?
So my quetion is, What is the differences between <connectionstring>
and <appsettings>
in web.config, are there any specific reason why i should or should not be storing connection string in appsettings? Are there any rules / guidlines provided to follow? Or is this completely the choice of the developer?