Post: How to Deploy a .NET Core Project on Linux (Beginner-Friendly Guide)
If you’ve been building apps with .NET Core / .NET 6+, you probably know one of its coolest features — it’s cross-platform. That means your app isn’t tied to Windows anymore. You can run it on Linux servers too, which is awesome if you’re working with cloud providers or want a lightweight, cost-efficient server.
In this post, I’ll walk you through the exact steps to deploy a .NET Core app on a Linux server. Don’t worry if you’re new to Linux — I’ll keep it simple and clear. By the end, your app will be running live on your domain, just like any production-ready app should.
What You’ll Need
A Linux server (Ubuntu/Debian works great)
SSH access to the server
A .NET Core project ready on your local machine
1. Update Your Linux Server
sudo apt update && sudo apt upgrade -y
2. Install .NET Runtime (or SDK)
If you just want to run your app on the server, install the runtime. If you want to also build or test on the server, grab the SDK.