When I add a connection string by wizard in a WebApp , the wizard add the
connection string to web.config like
<add name="MyDataBas e" connectionStrin g="Data Source=.\SQLEXP RESS;Initial
Catalog=xxxx;.. ...
But if I add the same connection string by wizard in a class library
project, the connection string in app.config will be:
<add name="dataHealt h.Properties.Se ttings.MyDataBa se"
connectionStrin g="Data Source=.\SLEEPE RS;Initial Catalog=xxxx...
The connection string name in app.config will be initial with
"ProjectName..P roperties.Setti ngs"
Why have the difference between web.config and app.config