Ef6: ef 6.3 under linux

Created on 24 Sep 2019  路  7Comments  路  Source: dotnet/ef6

Hi! I just tried a simple example under linux and it works. However in official posts I did not see any mention about such big feature as linux support. Also as I can see in the repository source code does not test under linux. In all this in mind I want to ask Is this an official feature that will be supported or a happy accident?

closed-question

Most helpful comment

I can confirm it鈥檚 no accident. We tend to think that targeting .NET Standard 2.1 and testing on .NET Core implies cross-platform support, but given that some of the other recent additions (e.g. WinForms and WPF) are Windows-only, I agree that it鈥檚 worth calling out explicitly in docs and announcements.

cc: @bricelam

All 7 comments

It works with SQL Server from Linux, yes.

It works with SQL Server from Linux, yes.

And this is a supported scenario? I always thought that main difference in long run between ef core and classic ef will be a linux support.

I can confirm it鈥檚 no accident. We tend to think that targeting .NET Standard 2.1 and testing on .NET Core implies cross-platform support, but given that some of the other recent additions (e.g. WinForms and WPF) are Windows-only, I agree that it鈥檚 worth calling out explicitly in docs and announcements.

cc: @bricelam

Don't worry, we ran the tests on Linux. 馃槃 It was just too expensive to automate.

My comment from a previous PR:

We're not going to enable macOS and Ubuntu on the CI since there are still 4K tests failing with "LocalDB is not supported on this platform." If the community is interested in skipping these tests, or getting the base connection string from an environment variable, we'd happily accept a PR.

EF has actually worked on Linux for seven years now. 馃槈

EF has actually worked on Linux for seven years now. 馃槈

We do not run mono in production (and I do not know any company who does in my environment), however we have plans to move everything to core(Everything that not already was moved :)). Including our big monolithic applications. Official support for ef 6.3 under linux would greatly reduce amount of work.

If the community is interested in skipping these tests, or getting the base connection string from an environment variable, we'd happily accept a PR.

Maybe it will be good to open issue with label "Help wanted" for visibility? Dotnet core is really amazing but ci tests for target systems would be a good thing to have.

I added this to the blog post and the what's new documentation:

  • This means that EF 6.3 is cross-platform and supported on other operating systems besides Windows, like Linux and macOS.
Was this page helpful?
0 / 5 - 0 ratings