

Sudo mv microsoft.gpg /etc/apt//microsoft.gpg This is meant to tell apt to trust the microsoft repository hence therefore inform apt that we trust the packages downloaded from the repository. The first step is to get the public key for microsoft packages and place it into the trusted public keys by apt. Installing dotnet consists of three steps installing the public key of microsoft packages into the trusted keys, adding the repository for apt-get and lastly downloading dotnet with apt-get.Īll the steps are available on dotnet documentation but I will try to provide more information. The first SDK which we will need is dotnet. Now that we have a subsystem, we can start replicating what would be necessary on the remote server. Once done, we should be able to open the Ubuntu shell. Then download Ubuntu from the Microsoft Store.Īfter the download complete, launch it and we will be prompted to create our root user. Start by enabling WSL via PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxĪlternatively we can also enable WSL from the Windows Features. This post will be composed by three parts: Today we will explore how we can run a Hello World ASP NET Core application locally on Ubuntu on Windows 10.

Recently a new approach came to life thanks to Windows subsystems which allows us to run a Linux binaries executables natively on Windows 10. What we can do is spin off a virtual machine which we can use to test our application for development pruposes. But when our development environment differs from our production environment, for example using Windows for development while deploying on Ubuntu, it can be hard to catch problems early. As of today, we are already able to write dotnet application running on Windows, Linux or docker.
Sql tabs ubuntu install install#
Install dotnet on Ubuntu with the Linux subsystem on Windows 10ĭotnet and ASP NET Core are rapidly moving toward cross platform development.
