Summary of ASP. NET MVC5 official tutorials (1),. netmvc5
Introduction to ASP. NET MVC5 official tutorials (1)
In this section, let's take a look at the first part of the tutorial-getting started. before talking about it, let's talk about our development environment and version. Our development environment is Visual Studio and the version is 2013, here I provide one:
Http://www.iplaysoft.com/vs2013.html
This chapter describes how to build a project.
Since we are talking about building a project, the first problem is to create a project and open our development environment:
. We can clearly see four words on the left side of the development environment start page: Create a project. Obviously, this is a method for creating a development project. The second method is that there is a file option in the upper left corner of vs2013, and there is also a new option in it. There is a project option in the new project.
Next, create the first ASP. NET MVC5 project.
No matter which method is used to create a project, a new project window is displayed. In this window, select ASP under web under visual c. net web application. The name depends on your preferences. Here is Mvc Movie. the solution is also called this. The two solutions can be different.
Select the MVC template in the next window, and click OK.
In this way, the first ASP. NET MVC5 project has been created. On the right side, we can see the framework vs has set up for us,
A Hello world project created by the system is included here. You can open the Controllers folder and enter HomeController. cs. In the next section, I will talk about what this is. After Entering the section, click the running button on the top of vs to see the effect.
In this way, we will finish the introduction.