Most of our internal applications are built on the Java EE stack using Ant, and deployed to Tomcat with a WAR file. We have a build window in which a production-oriented WAR is created, and the WAR is then delivered to the test environment. A script is executed to convert the deployed webapp to indicate the test data environment.
After several Test β Bug Fix β Build β Redeploy cycles for testing, the WAR file is then deployed to Production and then lives.
I recently inherited some ASP.NET 4.0 web applications, and their build / deployment is completely different; the code is built in VS, and then the entire project directory is copied to each environment. It is then manually configured and sometimes rebuilt using the VS instance on the server.
This is a little scary, as there are many opportunities for tweets in the same environment that need to be forgotten, and therefore we need us to play with our applications after they βliveβ, outside of testing, version control, etc.
So, all of this is said: Is there an equivalent Ant / WAR mechanism in the .NET world? What is the safest way to create an executable artifact from a .NET webapp and move it between environments with minimal modification? I know that βbest gradesβ is a taboo phrase, but I would like to plunge into some expert knowledge before remaking Ant in .NET. :-)
source share