开发者

asp.net mvc deployment

开发者 https://www.devze.com 2022-12-29 10:30 出处:网络
I\'ve been dealing with a legacy asp.net 2.0 web site that was originally setup to deploy everything (source uncompiled) to the target server. I\'ve been looking at doing some major upgrades and want

I've been dealing with a legacy asp.net 2.0 web site that was originally setup to deploy everything (source uncompiled) to the target server. I've been looking at doing some major upgrades and want to move to asp.net mvc.

I'm coming from mostly a Java background where we typically deploy everything inside of a Web ARchive (war file) and the application server takes it from there. Is there开发者_开发技巧 a similar concept in the .net world? Right now in my mvc test app, I just put the compiled code into the deployed bin folder and the rest of the script/view files there as well.

From what I have been reading it seems that most use the Publish feature of VS.


You could create a package and deploy it

http://vishaljoshi.blogspot.com/2009/02/web-packaging-creating-web-package.html

or you can simply copy the files over

http://weblogs.asp.net/owscott/archive/2009/06/06/visual-studio-2010-1-click-publishing.aspx

0

精彩评论

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

关注公众号