Base solution for your next web application
Open Closed

Oracle Connection using asp.netCORE and angular4.* #3321


User avatar
0
velu created

How to connect oracle database using aspnetCORE app.

When i add 'Oracle.ManagedDataAccess' using nuget package manager then it throw an error:

Package restore failed. Rolling back package changes for '.EntityFrameworkCore'. OUTPUT : Package Oracle.ManagedDataAccess 12.2.1100 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Oracle.ManagedDataAccess 12.2.1100 supports: net40 (.NETFramework,Version=v4.0)


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @velu,

    It seems like Oracle.ManagedDataAccess does not support .NET Core. You can either create your project with .Net Framework 4.6.1 on aspnetzero.com or you can search for a nuget package that supports .NET Core for Oracle.

    Thanks.