'.Net Core, Entity Framework Core not working on Linux server

I deployed a test console app to a linux server and everything works fine but when the code execute an Entity Framework Core query, I get this message in the console

Segmentation fault (core dumped)

On the other hand, if I run it on Windows, it works fine:

console picture



Solution 1:[1]

This may be caused by integrated security in the connection string. Try to connect with SQL Server authentication. Please check out this link.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 goodfellow