Using PostgreSQL with .NET Core 2.0
#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-fridays/tree/master/MyWebApi ► PostgreSQL: https://www.postgresql.org/download/ ► .NET Core: https://www.microsoft.com/net/download/core ▬▬▬▬▬▬ 🎵 Music 🎵 ▬▬▬▬▬▬ Intro music by taketime - http://taketime.bandcamp.com & http://www.soundcloud.com/taketimetaketime Used with permission. Go check out his great music!
Download
0 formatsNo download links available.