.Net core on Fedora 42

Setting Up My Dell XPS 15 for Dual Boot with Fedora 42 and .NET Core Development

Published on: May 30, 2025

Welcome to the first blog post on FedoraIT.com! In this article, I’ll walk you through how I transformed my Dell XPS 15 into a powerful development machine by setting it up for dual-boot with Fedora Workstation 42, installing .NET SDK, and configuring VS Code for .NET Core development.

Why Fedora 42?

Fedora Workstation is known for its cutting-edge features, stability, and developer-centric environment. Version 42 brings improvements in GNOME, performance tuning, and better hardware support, making it an excellent choice for developers who want to work in a Linux environment without compromise.

Step 1: Preparing for Dual Boot

  • Back up your data. Always back up your Windows system before making any partition changes.
  • Download Fedora 42 ISO. Get it from the official site.
  • Create a bootable USB. Use tools like Rufus or dd on Linux/macOS.
  • Shrink your Windows partition. Use Windows Disk Management to free up space for Fedora.

Downloading Fedora ISO

Step 2: Installing Fedora 42

Boot from the Fedora USB and follow the installation process. During disk setup, choose "Install alongside Windows" or use manual partitioning if you're comfortable. Ensure the EFI partition is reused to maintain dual boot functionality.

Fedora installation partitioning screen

Step 3: Updating Fedora and Installing .NET SDK

sudo dnf upgrade --refresh
sudo dnf install dotnet-sdk-8.0

After installing, verify your .NET version:

dotnet --version

.NET SDK installation on Fedora terminal

Step 4: Installing VS Code

Microsoft provides a convenient RPM repository for Fedora:

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
sudo dnf install code

VS Code running on Fedora

Step 5: Starting .NET Development on Fedora

dotnet new console -o HelloWorld
cd HelloWorld
code .

You can now build and run your app with dotnet run and debug using the integrated terminal and VS Code extensions.

Hello World app running in VS Code on Fedora

Final Thoughts

Fedora 42 has proven to be a fast, reliable, and developer-friendly environment for .NET Core development. Dual-booting allows me to use the best of both worlds—Windows and Linux—on my Dell XPS 15.

Stay tuned for upcoming articles where I’ll dive deeper into using Azure SDKs, Docker containers, and running microservices on Fedora!

– Author: Leo, Software Architect at FedoraIT

Add comment