ASP. NET Core new project tutorial (3), core new project

Source: Internet
Author: User

ASP. NET Core new project tutorial (3), core new project

ASP. NET Core-create a project

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

If you have installed the. net core tool of Visual Studio 2015, you can start to build a New ASP.net core application and choose File> New Project from the menu.

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

ASP. NET Web Application-simple ASP. NET Application template.

ASP. NET Core Web Application (. NET Core)-this will start your cross-platform project based on. net core framework.

ASP. NET Core Web Application (. NET Framework)-This starts a new project of. net framework running in windows.

In the left-side pane, select Templates → Visual C # → Web, and then select the ASP. NET Core Web Application (. NET Core) template in the middle pane. Let's also name the application FirstAppDemo and specify the location of the Asp. Net Core project, and then click OK.

In the preceding dialog box, you can select a specific template for the ASP. Net application from the available Asp. Net Core template.

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

The Web Application Template helps you develop files on your file system. It allows you to directly use MVC for development.

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

Let's select an empty template, turn off Host in the Cloud, and click OK.

Visual Studio will now start the project within a period of time.

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

Let's run this application. You can press Ctrl F5 to start, or click Debug menu: Select Debug menu and choose start to execute (not Debug ).

This application can only display Hello World!

This runs on localhost: 57741.

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

Here, you can see that the website name is FirstAppDemo.

If you have development experience in versions earlier than Asp.net, and use Vs to develop and run these steps are similar to those of previous versions, you should be familiar with them.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.