Developing Valida's C# .NET Microservice on Linux
Did you know that developing C# .NET on Linux has become a lot more enjoyable in recent years?
If you'd like to learn how to set up your very own C# .NET development environment on Arch Linux, you're in the right place.
This post is part of my Valida portfolio project and aimed at developers and hobbyists.
If you're a Non-technical user, you've probably misclicked but you're encouraged to come back after learning more about Arch Linux and C# .NET.
Installation of System Dependencies
bash
1#!/usr/bin/env bash23# INFO: If you only want to run .NET managed applications4sudo pacman -Sy dotnet-runtime56# INFO: In order to build apps with .NET, install dotnet-sdk as well7sudo pacman -Sy dotnet-sdk89# INFO: Lastly, to build dynamic web sites, applications,10# and services using ASP.NET Core11sudo pacman -Sy aspnet-runtime aspnet-targeting-pack1213# NOTE: To use .NET 8.0 or 9.0 (instead of the current latest, 10.0),14# suffix above package with "-8.0" or "-9.0" respectively,15# such as dotnet-runtime-8.0, dotnet-sdk-8.0, aspnet-runtime-8.0,16# and aspnet-targeting-pack-8.0.17# (more versions: https://wiki.archlinux.org/title/.NET#Install_multiple_versions_via_AUR)