asp.net dev/production config file
asp.net dev/production config file

Is there a way to have two config files? When I publish to dev I want to connect to a different SQL server than when I publish the app to production.
or do I just need to go in and edit the connection string each time I publish?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
This is something that you'd need to ask on StackOverflow or on a MS specific development forum I'm afraid. I believe it is possible by configuring different build profiles, but that's out of the scope of the support we offer.
Allan
thanks. I was thinking this was a datatables thing
I found the following that may be of use:
https://deanhume.com/working-with-multiple-web-config-files/