Dotnet Core Test

Postgres access with Entity Framework and ADO.Net

Following lab setup, in this post, I will show how to use dotnet core to access Postgres db. Summary Create a dotnet core console project use Entity Framework to generate Entity Framework context and entity code write code to run a query using Entity Framework write code to run a query using ADO.Net/Npgsql run a speed test Create a dotnet project and add Postgres packages dotnet new console -n CmdlineApp cd CmdlineApp dotnet add package Npgsql --version 4. [Read More]