Do you avoid using duplicate connection string in web.config?
Updated by Brady Stroud [SSW] 1 year ago. See history
123
Since we have many ways to use Connection String in .NET 2.0, it is probably that we are using duplicate connection string in web.config.
<connectionStrings><addname="ConnectionString"connectionString="Server=(local);Database=NorthWind;"/></connectionStrings><appSettings><add key="ConnectionString" value="Server=(local);Database=NorthWind;"/></appSettings>
❌ Figure: Bad example - Using duplicate connection string in web.config
acknowledgements
related rules