ASP vNext and PostgreSql

asp.net-core c# entity-framework-core postgresql

Question

exists currently any way, how to communicate with PostgreSql database, when I want to use ASP.NET vNext? I'm looking for solution, which will work mainly on linux.

EF7 supports only MS SQL a SqlLite now and Npgsql isn't ported for ASP.NET vNext.

Thanks

Popular Answer

Instead of EF7 you can use NHibernate together with Fluent NHibernate. Npgsql is also working well on ASP.NET 5 (vNext) on Linux. Here is a complete example of ASP.NET vNext application with NHibernate + PostgreSQL working on ubuntu server.



Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why