Using PostgreSQL with .NET Core 2.0

Published: 20 October 2017
on channel: Wes Doyle
55,674
885

#dotnet #postgresql #dotnetcore #dotnet-tutorial #pgadmin

In this episode, we look at how to quickly set up a new .NET Core Web API project with a PostgreSQL database connection. PostgreSQL is an advanced, cross-platform open-source database management system.

Like videos about web development, DevOps, and machine learning? Please support me on Patreon!

▬▬▬▬▬▬ 🎒 Udemy Course 🎒 ▬▬▬▬▬▬
Check out my flagship Udemy course - 12-hour full-stack app build with automation tests, Vue.js, .NET Core, and SQL * For a limited time, use promo code STACK20 *

►►► bit.ly/wesd-udemy

▬▬▬▬▬▬ 👋 Get in Touch! 👋 ▬▬▬▬▬▬
Patreon ► https://bit.ly/pd-patreon
Facebook Group ► https://bit.ly/productive-dev-fb
My Twitter ► https://bit.ly/wesd-twitter
My LinkedIn ► https://bit.ly/wesd-linkedin

▬▬▬▬▬▬ 🕘 T I M E S T A M P S 🕘 ▬▬▬▬▬▬
0:00 - Intro and Background
0:32 - PgAdmin
1:00 - Create .NET Web API
1:45 - Add Dependencies
3:09 - Update Startup.cs
4:35 - Create Models
6:47 - Connection Strings
8:27 - Review and Import Npgsql
9:10 - Run Migration
10:32 - Outro

▬▬▬▬▬▬ 📚 TOPICS OVERVIEW 📚 ▬▬▬▬▬▬
☁️ Using PostgreSQL with ASP .NET Core Web Application ☁️
► Startup.cs configuration for Postgres backend
► DbContext setup
► Running Database Migrations

▬▬▬▬▬▬ 🔗 LINKS ▬▬▬▬▬▬
► GitHub repo for this project: https://github.com/wesdoyle/5-minute-...
► PostgreSQL: https://www.postgresql.org/download/
► .NET Core: https://www.microsoft.com/net/downloa...

▬▬▬▬▬▬ 🎵 Music 🎵 ▬▬▬▬▬▬
Intro music by taketime - http://taketime.bandcamp.com &   / taketimetaketime  
Used with permission. Go check out his great music!


Watch video Using PostgreSQL with .NET Core 2.0 online without registration, duration hours minute second in high quality. This video was added by user Wes Doyle 20 October 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 55,674 once and liked it 885 people.