Getting Started With ASP.NET Core On Linux

In this article, we will discuss how we can develop ASP.NET Core Web Application on Linux. We discussed understanding about ASP.NET Core with Hello world Application on Windows in my previous articles. If you want to learn ASP.NET Core and its features, you can read the article, whose link is given below.

Let’s start with the procedures

If you want to know the prerequisites and setting up the environment, a step-by-step guide is given in the article's links given below. 

Developing an ASP.Net Core Web Application on Linux

We are going to discuss how to develop ASP.NET Core Web Application on Linux. We will see the step by step guidelines for the ASP.Net Core Web Application creation here. 

  • Type mkdir ASP.NETCoreWebApp, cd ASP.NETCoreWebApp and enter in the command line, as given below.

  • You can see the Asp.NETCoreWebApp folder, as given below in the screenshot.

  • Type dotnet new -t web and enter in the command line.

  • You can see ASP.NET core Application project structure in the screenshot, given below.

  • Type dotnet restore and enter in the command line.

  • After some time, installing required component is completed in the screenshot, as given below.


  • Type dotnet run and enter in the command line, as given below.



I hope, you understood developing ASP.NET Core Web Application on Linux and running it. I have covered all the required things. If you find anything, which I missed in this article, please let me know. Please share your valuable feedback or suggestions.