Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 29, 2012 03:01 PM by MattsDotNetUsername
Jun 29, 2012 02:56 PM|LINK
I have two databases on the web. One has external access and the other does not. If I'm testing local, I want to use one database, and if I push my app the the web, I want it to automatically use the other database. How do I set a definintion in web.config
to swich database if not local in VS10 using C#?
Thanks in advance
Jun 29, 2012 03:01 PM|LINK
One way is to use different build configurations with a web.config transform: