MVC5 website development practices 1. Create a project and mvc5 website development
Directory
Overview of MVC5 website development practices
1. Establish a project 1. Establish a Team Project
Use different computers in the office and home, and build the project as a team project to facilitate code sharing.
Open vs2013 → new → Team Project (Figure 1), the Visual Studio Online page is automatically opened (Figure 2), enter the Microsoft pass to log on (no account to register one, free of charge ), go to figure 3.
Enter the project Name and description on the page in Figure 3. Click Creatr project and wait for the project to be created. The page jumps to Figure 4.
In Figure 4, click Open in Visual Studio to automatically start vs and display the team resource manager Panel (figure 5 ).
In Figure 5, click Configure work area, configure the local work area (figure 6), and click ing to complete local ing. 7
2. Create a Site project
In Figure 7, click Create. In the displayed dialog box, select Visual C # → Web → ASP. NET Web application, enter project name 8, and click OK. The figure 9 dialog box is displayed.
In the dialog box that appears, select MVC and click "Change authentication". If you want to manage the users by yourself, click "NONE". OK. The project is created after 10.
2.1 Add a region
On the site project, right-click Add-> area (figure 11) and enter "Member. Add the Config area again. Solution Manager page 12.
3. create other projects 3.1 create Core projects
Right-click solution in solution Manager (Figure 13) and choose add> Create project. The Create Project dialog box is displayed (figure 14)
In the dialog box, select Visual C #-> class library name and enter "Core ".
Create a User project and a Data project.
======================================
Address: http://pan.baidu.com/s/1eQJ56ka