I have a .net mvc 2 application.
What is the usual way to hand this application to our customer (similar like war file would be)?
Can I just zip 开发者_运维技巧the publish-ed version of the app? Or are there any smarter ways to do it, and better ways to get there then to do a publish from VS?
Publish + zip + copy is called Xcopy deployment and is a recommended way of deploying web applications, including ASP.NET MVC web applications. It works great for anything that doesn't rely on anything that isn't included in the web application folder.
ASP.NET MVC 1.0 required a separate install which made it slighly less fool proof.
精彩评论