我需要在服务器中安装适用于 .NET 4 的 Oracle 提供程序吗

发布于 2024-11-15 08:14:09 字数 334 浏览 9 评论 0原文

我收到了一个网络应用程序,我需要对其进行一些更改。第一个是将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事和酒 2024-11-22 08:14:09

可以使用 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文