Development vs. Production

J

Jerry Camel

I know there's got to be a way to do this, and it's probably easy, but I
need some help...

I have a VB.NET /ASP.NET application that works just fine. Built it and
tested against a development database. It's time to move it into
production. But the DB folks keep separate environments for Dev and
production and use different naming conventions in each. So now I have to
change the code and recompile with the new db instance and db name, etc.

Is there a place I can store the db name so that I can edit it and just
restart the app and not have to recompile the code modules?

Maybe in Web.config or something? And if so, how do I access the info at
run time? Thanks.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top