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.