TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
Santhakumar Munuswamy
When:
10 Oct 2016 12:18 AM
Last revision by
Prashanth Jayaram
When:
8 Nov 2016 12:44 PM
Revisions:
12
Comments:
9
Options
Subscribe to Article (RSS)
Share this
Engage!
Wiki Ninjas Blog
(
Announcements
)
Wiki Ninjas on Twitter
TechNet Wiki Discussion Forum
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
Getting Started with ASP.NET Core On Linux
Getting Started with ASP.NET Core On Linux
Article
History
Getting Started with ASP.NET Core On Linux
Table of Contents
Introduction
Let’s start with the procedures
Developing an ASP.Net Core Web Application on Linux
Conclusion
Introduction
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 below link,
Understanding the ASP.Net Core on Windows
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
Getting Started with .NET Core on Linux
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 asp.net 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
Conclusion
We hope you understood developing the ASP.Net Core Web application on Linux and run on it. We have covered all the required things. If you find anything that we missed in this article, please let me know. Please share your valuable feedback or suggestions.