Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

.NET Core 2 OSX (no replies)

$
0
0
I'm wanting to develop an ASP.NET Core Web API on VS for OSX (MacBook Pro) and want to connect to MySQL. I downloaded the MySQL.Data NuGet package but when I run the site it gives me errors/warnings that it's built for .NET framework and not built for .NET Core 2 and some other errors about System.Security.Permissions missing and the like.

VS on OSX only runs .NET Core 2 sites from the version I have it looks like, there are no options for .NET Core 1.1 or .NET Framework like VS Community. What I'm wanting to do is connect to my MySQL DB and run queries, I'll need Views/Stored Procs support, what I'm wanting to do will be mixed between ORM tables and running Views/SPs, and I'm not sure if that's available in EF Core.

What do I need to do to get up and running?

I'm already looking at Django/Python as it does what I need, but .NET Core is much sleeker for Web API I think. Would be great to run on VS/OSX as VirtualBox/Win 10/VS 2017 Community is very slow on my machine and not a good solution here.

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>