我需要在服务器中安装适用于 .NET 4 的 Oracle 提供程序吗
我收到了一个网络应用程序,我需要对其进行一些更改。第一个是将 Microsoft 的 System.Data.OracleClient 更改为 Oracle 的 Oracle .NET 提供程序,因为当我编译时,我收到警告说我应该使用第三方库连接到 Oracle 数据库。在我自己的计算机上,我已经安装了 Oracle Provider for .NET。该应用程序是分层的,我在数据访问层 (DAL) 中完成所有这些连接、查询和更新等工作。然后我获取dll并将其放入网站的Bin文件夹中。现在,如果我用新库编译 DAL 并用新创建的库替换网站中的 dll,它仍然可以工作吗?还是我也必须在服务器中安装 Oracle Provider for .Net?
I've been handed over a web applicaion to which I need to make some changes. One of the first ones is to change Microsoft's System.Data.OracleClient to Oracle's Oracle provider for .NET as when I compile I get warning that I should use third party library to connect to Oracle database. On my own computer I've already installed Oracle Provider for .NET. The application is layered and I do all these connection, querying and updating and stuff in a Data Access Layer (DAL). Then I get the dll and put it in Bin folder of the website. Now, if I comile the DAL with new library and replace the dll in website with the newly created one will it still work or do I have to install Oracle Provider for .Net in the server too?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以使用 ODP.NET 的“xcopy 部署”,请参阅此链接:部署 Oracle Data Provider.NET
It is possible to use a "xcopy deployment" of the ODP.NET, see this link: Deploy Oracle Data Provider.NET