Creating. NET Core with the command line

Source: Internet
Author: User

Both PHP and Java programmers say that. NET programmers do not use command line, listen to me on the fire, directly to use the command line to the two goods to show the process of creating a. NET core project, directly surprised the two goods. The following is the process of the scare path.

Here we use the dotnet command to create the. NET Core Project

Create a project folder

Create a Web project with the dotnet new–t Web command, which is created with this command. Net Core Project

Perform the "dotnet Restore" command to restore a dependent NuGet package

Enter http://localhost:5000 in the browser after you run dotnet run to start MVC and you can access it. Note: The default registered server is bound to port 5000

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.