🚀 Looking for a Place to Run Your ASP.NET Core App?
In this video, I'll show you how simple and easy it is to deploy your ASP.NET Core application to Heroku, step by step! Heroku makes the deployment process incredibly straightforward, and we'll be using the Heroku CLI to get everything set up. Whether you’re a beginner or just looking to streamline your workflow, this tutorial is for you!
🔔 Don't forget to SUBSCRIBE NOW for more ASP.NET Core tutorials and Angular crash courses! Hit that bell icon to stay updated on all our latest content!
#dotnet #aspnetcore #dotnettutorial #deployment2k18
Chapters
00:00 - Intro
00:01 - Welcome and Thanks to New Subscribers
00:07 - Overview of the Video: Deploying ASP.NET Core to Heroku
00:30 - Running the Application on the Local Machine
01:02 - Creating an Account on Heroku
01:35 - Navigating to the Heroku Dashboard
02:00 - Brief Explanation of the Application's Functionality
02:15 - Initializing Git Repository and Connecting to Heroku Remote
03:00 - Creating a New App on Heroku
03:30 - Naming the App and Setting It Up
04:01 - Downloading and Installing Heroku CLI
04:32 - Logging into Heroku via the Command Line
05:05 - Navigating to the Project Directory
05:34 - Introduction to Buildpacks
06:31 - Selecting and Configuring the Appropriate Buildpack for ASP.NET Core
07:08 - Adding PostgreSQL to the Heroku App
07:26 - Configuring PostgreSQL Settings and Credentials
08:05 - Modifying appsettings.json to Include PostgreSQL Connection String
08:40 - Ensuring Connection String Matches Heroku Credentials
09:04 - Installing Npgsql Entity Framework Package
09:12 - Conclusion and Outro
🔨 Tools I Used:
Visual Studio 2019
ASP.NET Core
.NET 5
Entity Framework Core
Heroku Postgres
Webpack: Heroku Buildpack
Database Connection String:
sql
Copy code
Server={Host};Port=5432;Database={Database};User Id={User};Password={Password};sslmode=Require;TrustServerCertificate=True;
📚 Materials / References:
My Website: martindevs.live
GitHub: MartinDevs2024
Facebook Group: / 461223408871445
Extensions for VS Code: • Code better with this extension For v...
Angular Todo App: • angular tutorial for beginners build ...
Join the Community!
Let’s learn together and elevate our coding skills! Your support means a lot, and I can't wait to see you in the next video!
Watch video Deploy your C# aspnet core Application free hosting To Heroku Step by Step -2022 online without registration, duration hours minute second in high quality. This video was added by user MartinDevs 26 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,13 once and liked it 16 people.