Premium Only Content

Deploy ASP.NET Core MVC to Railway with PostgreSQL – No Azure, No Credit Card!
00:00 – Introduction
00:40 – Deploying to Azure Alternatives Without a Credit Card
02:10 – Deploying with the Railway Platform
03:50 – Forking a Repo to Avoid Misconfigurations
05:20 – Creating a New Service in Railway Using a GitHub Repository
07:00 – Downgrading from .NET 9.0 to .NET 6.0 for Railway Compatibility
08:50 – Pushing Code to GitHub Using SourceTree
09:30 – Automatic Service Initialization After GitHub Push
13:00 – Setting Up a Public URL for Your Hosted App
14:20 – Configuring a Database Service for Your App
15:10 – Brief Overview of PostgreSQL
16:40 – Connecting to PostgreSQL Using pgAdmin
18:50 – Renaming the PostgreSQL Database
21:20 – Updating EF Core to Target PostgreSQL Instead of SQL Server
22:40 – Installing the Npgsql Package for Entity Framework
24:15 – Modifying the Connection String for PostgreSQL
25:40 – Removing SQL Server–Specific HiLo Sequences
29:20 – Handling Missing File Scenarios on the Server
33:25 – Cleaning Up Existing EF Core Migrations for SQL Server
34:39 – Using "rm -r Migrations" to Delete Migrations
35:10 – Generating PostgreSQL Migration with "dotnet ef migrations add InitialCreate"
38:44 – Using Railway Platform Credentials to Connect to PostgreSQL
41:20 – Updating baseUrl to Match Railway Deployment
43:17 – Switching Environment Flags for Railway Deployment
45:15 – Final App Running with PostgreSQL on Railway
45:35 – Conclusion
In this video, I walk you through how to deploy our previously developed Asp.net MVC core app on Railway platform instead of Azure (by passing credit card requirments)
🚀 What You’ll Learn:
Deploying you app to Railway Platform
Using PostgreSQL instead of MSSQL server
Setting up Services on Railway Platform
Tips on extending the application for real-world use
📦 About eShopOnWeb:
eShopOnWeb is a sample ASP.NET Core reference application, showcasing the clean architecture and best practices for building scalable web apps.
GitHub link
https://github.com/dotnet-architecture/eShopOnWeb
🔧 Tech Stack:
ASP.NET Core
Entity Framework Core
Razor Pages
Clean Architecture principles
✅ Don't forget to like, subscribe, and turn on the notification bell if you want more tutorials like this.
💬 Got questions or suggestions? Drop them in the comments!
#eShopOnWeb #ASPNetCore #eCommerce #OpenSource #DotNet #WebDevelopment #Microsoft #WahabHussain #codekincreations #ckc
-
10:20
Zoufry
7 days agoThe Hunt for The Real Life Walter White
13K1 -
15:10
Dr Disrespect
1 day agoI FINALLY Beat Baby Steps
105K15 -
2:38:29
MattMorseTV
16 hours ago $14.21 earned🔴Trump's Counter-Antifa CONFERENCE.🔴
19.4K94 -
4:34:25
Side Scrollers Podcast
20 hours agoTwitch CEO Testifies in Congress + Hasan Piker Accused of DOG Abuse + More | Side Scrollers
66.3K27 -
19:54
Forrest Galante
3 days agoPrivate Tour Of America's Best Marine Animal Facility
93.2K10 -
17:00
GritsGG
14 hours agoWon the Game Because of This Easter Egg w/ Bobby Poff!
16.8K -
17:36
The Pascal Show
11 hours ago $2.36 earned'THEY ARE GONNA K*LL ME!' Candace Owens Reveals Charlie Kirk Feared For His Life Days Before Murder!
12.7K17 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
265 watching -
38:27
TruthStream with Joe and Scott
3 days agoA roundtable with Lisa, Carole and Michelle. Our travels through Spain and Ireland #497
27.4K3 -
2:05:03
Badlands Media
15 hours agoDevolution Power Hour Ep. 396: The Machine Cracks – CIA Networks, Color Revolutions & Trump’s Playbook
156K28