How to Connect to PostgreSQL with EF Core: A Step-by-Step Guide

How to connect to a PostgreSQL using Entity Framework Core. Have you ever wanted to connect your MVC website to a relational database like PostgreSQL? This tutorial will guide you step-by-step through the process of getting your site set up so it can talk to a PostgreSQL database! Subscribe: Source Code: 🕑Timestamps : 00:00 Introduction 01:14 Creating the web project 01:59 Adding the connection string to PostgreSQL 02:54 Creating the Data Access Layer 04:05 Creating a Model 07:24 Creating the database with Migrations 08:48 Querying data 11:26 Data seeding 13:51 Conclusion Where you can find me: 💻 Github: 🌐 Website: 🕴️ LinkedIn: #entityframeworkcore #postgresql
Back to Top