Skip to content

vincuo70/NetOnUbuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Develop .NET applications on Ubuntu

Let's configure wsl to get an ubuntu shell in windows 10 or 11

Below you will find other in-depth links, in particular:

After Ubuntu installation, you can check from the shell which version you have installed.

lsb_release -a

Surprise!

So my version is 20.04.6 LTS 😕 all fine, there is a guide!

Add the Microsoft package repository

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb

Step01

Install the SDK

sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-7.0

Step02

Check .Net version

dotnet --version
dotnet --list-sdks

Wow!

Create a new folder and check templates

mkdir firstBlazor
cd firstBalzor
dotnet new list

Prepare

Make new App

dotnet new blazorwasm -n firstBlazor -o .

NewApp

Fire

Burning

⚠️ Warning - The port number may vary

Test

You can do this... Anyway, ctrl+click on the link to open browser.

Ta-Daa

About

Simple Guide to host blazor app on Ubuntu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published