托管支持.net4,但不支持mvc3
我一直在与我当前的托管提供商进行沟通。他们说他们支持.net4,但不支持MVC3。
我了解您可能需要从 http://www.asp.net/mvc/ 在服务器上安装 mvc3 mvc3
有办法避免这种情况吗?我可以在构建时只包含 MVC dll 吗?
不幸的是,我无法与他们一起测试这一点,因为我以 .net2 托管。在设置 vmare 之前,我想先在这里问一下。
我只需要确定退出目前的主持是一个坚定的决定。
(我不是在寻找托管建议或公司名称删除)
谢谢
I have been conmunicating with my current hosting provider. They say they support .net4 but not MVC3.
I understand that you may need to install mvc3 on the server from http://www.asp.net/mvc/mvc3
Is there anyway to avoid this? Can I just include the MVC dlls when building?
Unfortunately I cannot test this with them since I am hosting as .net2. Before I go setting up a vmare I wanted to ask here first.
i just need to be certain that moving away from my current hosting a firm decision.
(I am not looking for hosting suggestions or comapany name dropping)
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您只需在部署应用程序时将 MVC 3 dll 包含在应用程序的 bin 文件夹中即可。
只要托管提供商支持 ASP .NET 4.0,就可以了。
这是 链接来自知道自己在说什么的人
Yes, you only need to include the MVC 3 dlls in the bin folder of your application when you deploy it.
As long as the hosting provider supports ASP .NET 4.0 you'll be ok
Here is a link from someone who knows what they're talking about
是的,您所需要做的就是 Bin 部署 MVC dll,然后就可以开始了。这是一个关于这个主题的很棒的博客。
http://haacked.com/archive /2011/05/25/bin-deploying-asp-net-mvc-3.aspx
Yea, all you need to do is Bin deploy the MVC dll and you should be good to go. Here is a great blog on the subject.
http://haacked.com/archive/2011/05/25/bin-deploying-asp-net-mvc-3.aspx