MVC5 website development practices 1. Create a project and mvc5 website development

Source: Internet
Author: User

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

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.