Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dohamsg
Starting Member
22 Posts |
Posted - 2010-11-29 : 03:24:55
|
| Hi, this is extracted from app.config : <connectionStrings> <add name="MyConnectionString" connectionString="data source=127.0.0.1;initial catalog=master;User ID=sa;Password=xxxxxx;persist security info=False;packet size=4096" providerName="System.Data.SqlClient" /> </connectionStrings> <appSettings> <add key="ConnectionString.SQL Server (SqlClient)" value="data source=127.0.0.1;initial catalog=master;User ID=sa;Password=xxxxxx;persist security info=False;packet size=4096" /> <add key="autoDependencyInjectionDiscovery" value="true" /> <add key="ClientSettingsProvider.ServiceUri" value="" /> </appSettings>How to make the <appsettings> section use the "MyConnectionString", since it's redundant ?Thanks. |
|
|
Lumbago
Norsk Yak Master
3271 Posts |
|
|
|
|
|