Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 1.96 KB

readme.md

File metadata and controls

85 lines (53 loc) · 1.96 KB

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