Getting Started with ASP.NET Core On Linux

by Santhakumar Munuswamy

  Posted on  02 October 2016

  ASP.NET Core


In this article, we will discuss how we can developing the ASP.Net Core Web application on Linux. As 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 the below link, 

Let’s start with the procedures

If you want to know the prerequisites and setting up the environment step-by-step guide as given below link

Developing an ASP.Net Core Web Application on Linux

We are going to discuss how to developing 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

  • You can see the Asp.NetCoreWebApp folder as below screen shot

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

  • You can see the core application project structure in the screen shot as below

  • Type dotnet restore and Enter in the command line

  • After some time, installing required component is completed in the screen shot as following

  • Type dotnet run and Enter in the command line

Now, you can open the URL http://localhost:5000 in the browser


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


About the Author
He is a Technical Lead, C# Corner MVP, Author and founder of the blog, has over 9+ years experience on Microsoft Technologies like C#.Net, ASP.Net, ADO.Net, MVC, WCF, Ajax, IIS, SQL Server, Windows Phone and some developmet tools. He is an actively spending his valuable time to popular .Net Community like C# Corner, Microsoft TechNet Wiki, DZone, Stackoverflow, DotNetSpark and etc.

Follow Me: Facebook, Twitter, Google Plus, LinkedIn
blog comments powered by Disqus

Month List

Community Badges