tailieunhanh - Visual studio 2010 part 4

Làm quen với Visual Studio Các loại dự án Visual Studio bao gồm một lượng lớn các loại dự án, làm cho nó dễ dàng để xây dựng các ứng dụng với premade mẫu. Các cuộc thảo luận sau đây sẽ cho thấy làm thế nào để tìm thấy những gì loại dự án có sẵn và mô tả những gì các loại dự án được. | 30 Microsoft Visual Studio 2010 A Beginner s Guide Figure 1-25 Default Collection Of Settings window Familiarization with Visual Studio Project Types Visual Studio includes a plethora of project types making it easy to build applications with premade templates. The following discussion will show how to find what project types are available and describe what those project types are. To see what projects are available select File New Project as shown in Figure 1-27. NOTE If you ve set your environment up for VB you ll notice right away that the option to select is File I New Project which is only two menu choices rather than 3 for C . While the exact wording and placement of options won t always match you can rely on the functionality being the same except for when I explain otherwise. Chapter 1 Introducing Visual Studio 2010 31 Figure 1-26 Reset Complete window In addition to a new project Figure 1-27 shows that you can create a new Web site just open a file for editing or open a wizard that creates a new project from existing files. We ll look at many of these options later in the book but let s take a look at the New Project window Figure 1-28 which opened as a result of selecting File New Project. The New Project window in Figure 1-28 shows that there are many projects to select from including Windows Web Office SharePoint Cloud Reporting Silverlight Test WCF and Workflow. Some of these project types don t appear in Figure 1-28 but if you scroll down the Templates list in the New Project window you ll see them. Figure 1-28 also shows the appearance for C projects but there are also similar projects for other programming languages that ship with VS including VB C pronounced see-plus-plus and F pronounced f-sharp . If you had selected VB settings during the setup process 32 Microsoft Visual Studio 2010 A Beginner s Guide Figure 1-27 Selecting a New Project via the File menu earlier in this chapter the default set of project types would have been VB and C projects .