unit 02. visual studio 2010
DESCRIPTION
Unit 02. Visual Studio 2010. Visual Studio.NET. Creating Projects Project Anatomy Using the IDE Code Snippets. Creating a new Project. Major Project Types. Windows Application Web Application/Site Console Application Class Library Windows / Web Control Setup and Deployment Projects. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/1.jpg)
1
Unit 02. Visual Studio 2010
![Page 2: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/2.jpg)
Visual Studio.NETCreating ProjectsProject AnatomyUsing the IDECode Snippets
![Page 3: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/3.jpg)
Creating a new Project
![Page 4: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/4.jpg)
Major Project Types
Windows Application
Web Application/Site
Console Application
Class Library
Windows / Web Control
Setup and Deployment Projects
![Page 5: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/5.jpg)
Creating a new Web Application
![Page 6: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/6.jpg)
Web Site Types
ASP.NET Web Application
Traditional web app with pages containing text and images Viewed in a web browser
ASP.NET Web Service
Communication protocol used to exchange information across HTTP
Used between applications
![Page 7: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/7.jpg)
Project Files
.sln Solution File
.vbproj Visual Basic Project File
.vb Visual Basic File (Form, Class etc)
.csproj C# Project File
.cs C# File (Form, Class etc)
.aspx Active Server Pages (Web Forms)
![Page 8: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/8.jpg)
The Solution Explorer
![Page 9: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/9.jpg)
The Properties Window
![Page 10: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/10.jpg)
The Toolbox
![Page 11: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/11.jpg)
The Server Explorer
![Page 12: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/12.jpg)
The Designer
![Page 13: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/13.jpg)
The Code Window
IntelliSense
Regions
Syntax Checking
![Page 14: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/14.jpg)
Code Snippets
Insert frequently used code
Right Click › Insert Snippet Tools>Code Snippet Manager to add a Snippet
![Page 15: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/15.jpg)
Error Correction
Visual Studio provides smart tag error correction for many syntax errors
Solutions can be automatically applied
![Page 16: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/16.jpg)
Editing Code Snippets
Replacement points highlighted
Use [TAB] and [SHIFT]+[TAB] to move
Overtype with new values
![Page 17: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/17.jpg)
Task List
User defined tasks
Code comments (TODO, HACK, UNDONE)
User defined code comments Tools › Options › Environment › Task List
![Page 18: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/18.jpg)
Docking Windows
New "Guide Diamond" to control docking
![Page 19: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/19.jpg)
Import / Export Settings
Some or all of VS 2010 settings can be exported using Tools › Import and Export settings
Setting can be imported on another machine
Settings can also be reset to one of the standard configurations
![Page 20: Unit 02. Visual Studio 2010](https://reader030.vdocuments.net/reader030/viewer/2022033101/56812e05550346895d936bb7/html5/thumbnails/20.jpg)
Lab 2: Introduction to .Net
Using code snippets to insert a for loop and if statement