1

I'm quite new to programming. I have an ASP.NET 4.0 application and I would like some guidelines and best practise for how to dev, test and deploy it with regards to environment configuration.

I am currently manually changing my Web.Config file when I've finished a round of development, I then publish it to the web server using Visual Studio.

For example in my Web.Config should I define the connection strings for my dev/test/prod SQL Server databases in there? How should I configure Visual Studio? Are there any good articles on this that you could recommend?

The source code is kept in SVN, which is checked in using Tortoise SVN.

Thanks, Mark.

1 Answer 1

1

I've seen people keep files web.config.dev and web.config.live in the repository and then rename it to web.config when deployed.

Sign up to request clarification or add additional context in comments.

1 Comment

automate this with a build/deploy script and you have a good solution

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.