简体   繁体   English

使用Oracle 10g DB的宿主.NET Web服务

[英]Host .NET Web Service that uses Oracle 10g DB

I am making a Web Service in .NET that will be consumed by android apps. 我正在.NET中制作一个Web服务,它将被android应用程序占用。 The Database of my existing project is in Oracle 10g and is impossible to transfer to MSSql. 我现有项目的数据库位于Oracle 10g中,无法转移到MSSql。 The problem is that to connect to Oracle DB I need Oracle Client or atleast Oracle Data Access Components (ODAC) which needs installation on machine. 问题是要连接到Oracle DB,我需要Oracle Client或至少需要在计算机上安装的Oracle Data Access Components(ODAC)。 Now the problem is that I have yet not been able to find a Windows Hosting Server which has oracle client(All have MSSQL). 现在的问题是,我尚未能够找到具有oracle客户端(都具有MSSQL)的Windows Hosting Server。

Can anyone tell me how to tackle this situation or if there is another way to do it or if there is any assembly available which i can directly refer in my project and connect to oracle db. 谁能告诉我如何解决这种情况,或者是否有另一种方法可以解决这个问题,或者是否有任何可用的程序集可以直接在我的项目中引用并连接到oracle db。

Why don't you use Oracle.DataAccess.Client to get connected with Oracle Database from your .net web service. 为什么不使用Oracle.DataAccess.Client从.net Web服务连接到Oracle数据库。

And you don't have install oracle one your machine to get connected with oracle from your application 而且您没有安装甲骨文一台机器即可从您的应用程序与甲骨文建立连接

Following link may give some useful information to you 以下链接可能会为您提供一些有用的信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM