Lightweight Oracle support in .NET core

2

I'm trying to connect to an Oracle database from a containerable dotnet core application, and haven't been able to find a solution that allows me to do this that fits all of these criteria:

  • Runs in .NET Core 2.0
  • Doesn't require extra installation on the machine running it (which would make it not Docker compatible)
  • Is free

I've tried many different solutions, and none of them actually connect. Most of the NuGet packages target .Net Standard or .Net Framework 4.6.1. The ones that I've found that are the most promising seem to have a different targeting issue and result in the following error:

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Any suggestions?

Thank you for your time.

oracle
.net-core
asked on Stack Overflow Jan 26, 2018 by Walt Skidmore

1 Answer

0

Oracle is now publishing an official Data Provider for .NET Core on nuget.

answered on Stack Overflow Jan 23, 2019 by RemiGaudin

User contributions licensed under CC BY-SA 3.0