troubleshooting Question

ASP.NET ensure website is using a particular configuration string when published to server

Avatar of AidenA
AidenA asked on
ASP.NETVisual Basic.NET.NET Programming
5 Comments1 Solution471 ViewsLast Modified:
Hi,

As the title suggests, I am using a different database during development. It's easy enough to ensure that I am using the development database during development because I can do a simple debug.assert to ensure I am using the correct connection string.

However, I can't quite think how I would ensure that when the site is being published, or on the server, that a check is made to ensure the production version is using the production database.

Can anyone provide info on that?

Thanks, Aiden
ASKER CERTIFIED SOLUTION
b_levitt

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros