Duration 14:6

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

48 198 watched
0
780
Published 5 Jan 2022

How to connect to a PostgreSQL using Entity Framework Core. Have you ever wanted to connect your ASP.NET 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: /c/TechWithPat Source Code: https://github.com/techwithpat/MovieApp 🕑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: https://github.com/techwithpat 🌐 Website: https://www.techwithpat.com 🕴️ LinkedIn: https://www.linkedin.com/in/patrick-tshibanda-431017135/ #entityframeworkcore #postgresql

Category

Show more

Comments - 38