Kevin Robinson
asked on
Web.Config Connection String
This is a Entity framework connection string in my web.config. Is there a way to tidy this.
For example could the actual connection string "provider connection string" be pointed to a separate connection string.
Its just sooo ugly and hard to read..
<add name="MyEFConnection"
connectionString="metadata =res://*/V N.csdl|res ://*/VN.ss dl|res://* /VN.msl;pr ovider=Sys tem.Data.S qlClient;p rovider connection string="data source=PC01;initial catalog=MyDatabaseName;use r id=joe;password=xxxxxxx;mu ltipleacti veresultse ts=True;co nnect timeout=30;application name=EntityFramework" "
providerName="System.Data. EntityClie nt" />
For example could the actual connection string "provider connection string" be pointed to a separate connection string.
Its just sooo ugly and hard to read..
<add name="MyEFConnection"
connectionString="metadata
providerName="System.Data.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.