windows-server-2008 – 可以将必要的dll文件复制到服务器而不是安装依赖项吗?

前端之家收集整理的这篇文章主要介绍了windows-server-2008 – 可以将必要的dll文件复制到服务器而不是安装依赖项吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在服务器上部署了ASP NET MVC 3应用程序(win2008 / iis7.5).不知何故,我决定不安装MVC 3包和devexpress(应用程序必需).相反,我刚刚将我的开发人员机器中的mvc和devexpress的dll复制到已部署应用程序的bin文件夹中.一切正常.虽然将来维护可能会有一些并发症,但我想知道这种方法是否可以接受,是否会影响性能
对不起,我不同意我以前的海报.
Web应用程序需要能够安装在各种环境中,这可以是您自己的服务器,也可以是Webhoster.

例如,在Webhoster上,您无法正确“安装”这些工具,因此将这些程序集部署到bin文件夹中是完全可以的.

请在此处找到MVC3和DevExpress的一些特定信息:

MVC Deployment from SO
DevExpress Deployment from DX

至于DevExpress,它甚至反对他们的EULA:

When you deploy a web project that uses web controls provided by DevExpress,you should copy the corresponding assembly files that implement the functionality you use onto a target machine (server). Note that you cannot use our installation for this purpose,since it includes Design libraries that cannot be distributed according to the terms of our EULA. Thus you need to manually deploy the necessary assembly files onto the target server.

原文链接:https://www.f2er.com/windows/365879.html

猜你在找的Windows相关文章