ASP. NET core New Project Tutorial (3) _ Practical Tips

Source: Internet
Author: User
This article focuses on how to create a new project in Visual Studio, with a certain reference value, interested in small partners can refer to

ASP. NET Core-New project

In this chapter, we will discuss how to create a new project in Visual Studio.

As long as you have the. NET core tools for Visual Studio 2015 installed, you can start building a new ASP. Select from the menu: File→new Project

In the New Project dialog box, you will see the following three different Web project templates

ASP. NET Web application− templates for simple ASP.

ASP. NET core Web application − This launches your cross-platform project based on the. NET Core framework.

ASP. NET Core Web application-This starts a new project that runs the. NET Framework on the Windows system.

Select the Templates→visual c#→web in the left panel, and then select the ASP. NET core Web Application template in the middle panel. Also let's name the app Firstappdemo and specify the location of the ASP. NET Core project, then click OK.

In the dialog box above, you can select a specific template for an ASP. NET application from the available ASP. NET Core template.

The ASP. NET Core templates template contains three different templates.

The Web application template will help you develop files on your file system, which allows you to develop directly using MVC.

Here we will use an empty template that will help us build it from scratch.

Let's select the empty template, turn off the host in the cloud and click OK.

Visual Studio will now start the project for some time.

In the Solution Explorer window, you will see all the files in this project.

Let's run this application, you can start by pressing CTRL F5, or through the Debug menu: After selecting the Debug menu, choose Start (Not debugging).

This app can only show Hello world!

This runs in localhost:57741.

In the windows of the system tray, you can also see that IIS Express is running.

Here, you can see the name of the website as Firstappdemo.

If you have a previous version of ASP development experience, using VS development and run all these aspects of the steps are similar to the previous version development, you should not be unfamiliar.

Related Article

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.