Connect to Oracle from Xamarin Forms — oracle-tech

    Forum Stats

  • 3,715,654 Users
  • 2,242,820 Discussions
  • 7,845,479 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Connect to Oracle from Xamarin Forms

Jassim Rahma
Jassim Rahma Member Posts: 44 Blue Ribbon
edited June 2018 in ODP.NET

Hi,

I would like to ask how can I connect to Oracle database Xamarin Forms?

Thanks,

Jassim

Answers

  • Alex Keh-Oracle
    Alex Keh-Oracle Posts: 2,751 Employee
    edited June 2018

    It depends on the platform you use. If you're using Windows with Xamarin, then you can use ODP.NET.

    For mobile devices, I don't generally see them connect to Oracle DB directly. Instead, the mobile device connects to a web service running on some mid-tier, which then connects to Oracle DB.

  • Mark Williams
    Mark Williams Member Posts: 67 Blue Ribbon
    edited June 2018

    Everything that Alex said plus you might be interested in looking at the Oracle Data Provider for .NET Core (ODPC). I've done some limited testing with ODPC on a MacBook Pro with success. Though I have not specifically tested a Xamarin application. ODPC is current in beta testing but it could be worth investigating if on non-Windows platform.

    Regards,

    Mark

  • Jassim Rahma
    Jassim Rahma Member Posts: 44 Blue Ribbon
    edited June 2018

    but the ODPC does not exist in the Nuget's of Xamarin...

  • Alex Keh-Oracle
    Alex Keh-Oracle Posts: 2,751 Employee
    edited June 2018

    You'll find ODP.NET Core here. Currently, it's in beta, which means you have to tick the Pre-Release box when searching for the assembly.

This discussion has been closed.