.netasp.net-mvciis-7automated-deploy

What tool should I use to automate my deployment of my ASP.NET MVC application?


I've written a site for my summer internship using ASP.NET MVC. The progress is going well but one thing I have found painful is deployments. Particularly, because we have frequent deployments and I've been doing them by hand.

I'm looking for sort of the "standard" .NET deployment tool that can be utilized with an ASP.NET MVC project to automate our deployment process.

Some things I would like the tool to be able to do (that I do manually now):

Given sort of these soft requirements, what tool would you suggest I use to tackle this problem? I'm using II7 if it matters.


Solution

  • I would use NAnt. You can have it:

    And, you don't need to stop the IIS site. You can simply add an app_offline.htm file (double-check my file name). When the site is hit, this page will automatically display. So have the NAnt script deploy the file as it's first step and remove it as it's last step.