开发者

Best practise for developing and deploying ASP.NET Applications?

I'm quite new to programming. I have an ASP.NET 4.0 applica开发者_开发百科tion 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜