ASP.Net MVC 3:生产环境
我用 ASP.NET MVC3 开发了一个小网站,我将在接下来的几天内部署,我想知道服务器应该具备哪些先决条件(像这样我可以联系他们的 IT 服务以确保他们有一切)。
他们已经安装了 IIS 7.5(最后安装的 .net 框架),但他们是否应该为 ASP.NET MVC 3 安装/配置某些内容?我搜索了,但只找到了不相关的链接:(
I've developed a small site with ASP.NET MVC3, I will have to deploy in the next few days, and I would like to know which prerequisite the server should have(like this I can contact their IT service to be sure they have everything).
They already have IIS 7.5, the last .net framework installed, but should they have something installed/configured for ASP.NET MVC 3? I searched, but I found only non relevant links :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通常,ASP.NET 应在 IIS 上安装和配置。
可以使用两种常规方法来部署 ASP.NET MVC 应用程序:
仅此而已,仅此而已。众所周知,ASP.NET MVC 在部署到 iis 6 时会出现一些问题,但对于您要部署到的版本,问题已经解决。 此处了解这些问题< /a>
In general, ASP.NET should be installed and configured on IIS.
There're the two general methods that ASP.NET MVC application can be deployed with:
That's just it, nothing more. ASP.NET MVC is known to have some problems when deployed to iis 6, but for the version you are deploying to, problems are solved. Read about those problems here
您可以对 MVC3 应用程序进行 bin 部署,这样除了安装了 ASP.NET 和 .NET 4 的 IIS 之外,它不需要任何其他东西。
http://www.hanselman.com/blog/BINDeployingASPNETMVC3WithRazorToAWindowsServerWithoutMVCInstalled.aspx
You can bin deploy an MVC3 app so that it doesn't require anything other than IIS with ASP.NET and .NET 4 installed.
http://www.hanselman.com/blog/BINDeployingASPNETMVC3WithRazorToAWindowsServerWithoutMVCInstalled.aspx