

Now let's create a project Creating a ASP.NET Core project inside the WSL If this is done, you can prove the installation by typing dotnet -info into the terminal: Sudo apt-get install -y apt-transport-https & \ Otherwise, I won't be able to download and install the package: wget -O bĪfter that, I can install the. The link forwards me to the installation guide.Īt first, I need to download and add the key to the Microsoft package repository. So, I should choose the link to the package for this specific version: You can follow the links from or just look here for the Ubuntu packages: Īs you can see in the first screenshot, my WSL2 is based on Ubuntu 18.04 LTS. The installation packages for the Linux distributions are a little bit hidden inside the docs. You can also start the wsl.exe directly, or host it in the Windows Terminal or in the cmder which is my favorite terminal: It seems this hosts the wsl.exe that is the actual bash to work: If the WSL is installed, you will have a Ubuntu terminal to work with. If you don't have the WSL installed, you should follow this installation guide: My first thought was using and running a Docker container to work with, but this seemed to be too much effort for a simple check.

Recently I had to check a demo building and running on Linux. We did a lot using Docker the last year at the YOO and it is pretty easy using Docker Desktop and the WSL. My book is finished and will be published soon and to make 2021 better than 2020, I force myself to write for my blog.įor a while, I have the WSL2 (Windows Subsystem for Linux) installed on my computer to play around with Linux and to work with Docker. Two hours on the train that I used to use to write blog posts and stuff.

Also, COVID19 and the remote only working periods steal my commuting writing time. It is a long time since I did the last post.

Working inside WSL using Visual Studio Code
