Create Project for MVC5 website development 2 and develop mvc5 website

Source: Internet
Author: User

Create Project for MVC5 website development 2 and develop mvc5 website

Yesterday, I took a rough look at the idea of the Project. Today I will first establish a solution. The entire solution includesNinesky. Web,Ninesky. Core,Ninesky. DataLibraryAnd other three projects.Ninesky. WebIs a web application, Ninesky. CoreAndNinesky. DataLibraryIs a class library.

Because the code is to be published to codeplex.com, register a project on codeplex.com.

1. Connect to the TFS server of codeplex.com

1. File> New> Team Project. The "connect to Team Project set" dialog box is displayed.

2. ClickServerClick to bring up the server selection dialog box.

 

3. ClickAddButton to add TFS dialog box

4. Enter the TFS server address, click OK, enter the applied user name and password in the pop-up dialog box, and return to the Add/delete TFS dialog box.

5. Select the newly added TFS.

6. Select the default set TFS40 and click the connect button in the lower right corner.

 

7. The team Resource Manager interface after the connection is successful. So far, the TFS connection is successful.

 

2. Create a Ninesky. Web project

1. SelectNew->ProjectThe Create Project dialog box is displayed.

2. SelectVisual C #->Web(1 ),ASP. NET Web applications(2), enterProject name(3) Select StorageLocation(4) andSolution name(5), and selectCreate a directory for the solutionAndAdd to source code management(6 ). Then clickOKButton. The create ASP. NET project dialog box is displayed.

 

3. Select a templateMVC(1) Select AuthenticationPersonal User Account (2). Do not select Microsoft AzureHost in the cloud (3),Then clickOKButton.

(I have never used Microsoft Azure. I heard it seems to charge fees. If you have any details, please let me know ).

4. In the pop-up source code management dialog box, selectTeam Foundation Version Control, And thenOK.

5. In the pop-up dialog box, no modification is required.OKYou can.

6. After the project is created,Solution Manager.

PressF5Run. You can preview the default page.

 

Iii. Create: Ninesky. Core Project

1. On the solution manager panel,Solution "Ninesky"Right-click and choose>Add->Create a project

2. SelectVisual C #-> Windows(1), Class Library(2) enter the projectName"Ninesky. Core", Click OK. The project is created successfully.

 

Iv. Create: Ninesky. DataLibrary Project

Same as creating Nninesky. CoreProjectChange the nameNinesky. DataLibrary

 

5. Save the project to TFS.

1. Solution Resource Manager panelSolution NineskyRight-clickMigration.

2. The team resource manager is displayed. The change panel is being suspended. ClickMigrationTo migrate the code to TFS.

3. Access https://ninesky.codeplex.com after embeddingClickSOURCE CODEYou can view the source file at (1) and clickDownloadYou can download source files.

========================================================== ==============================

Later you need to download the latest code to the https://ninesky.codeplex.comDownload it directly.

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.