1 / 20

Unit 02. Visual Studio 2010

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.

Télécharger la présentation

Unit 02. Visual Studio 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Unit 02. Visual Studio 2010

  2. Visual Studio.NET • Creating ProjectsProject AnatomyUsing the IDECode Snippets

  3. Creating a new Project

  4. Major Project Types • Windows Application • Web Application/Site • Console Application • Class Library • Windows / Web Control • Setup and Deployment Projects

  5. Creating a new Web Application

  6. 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

  7. Project Files

  8. The Solution Explorer

  9. The Properties Window

  10. The Toolbox

  11. The Server Explorer

  12. The Designer

  13. The Code Window • IntelliSense • Regions • Syntax Checking

  14. Code Snippets • Insert frequently used code • Right Click › Insert Snippet • Tools>Code Snippet Manager to add a Snippet

  15. Error Correction • Visual Studio provides smart tag error correction for many syntax errors • Solutions can be automatically applied

  16. Editing Code Snippets • Replacement points highlighted • Use [TAB] and [SHIFT]+[TAB] to move • Overtype with new values

  17. Task List • User defined tasks • Code comments (TODO, HACK, UNDONE) • User defined code comments • Tools › Options › Environment › Task List

  18. Docking Windows • New "Guide Diamond" to control docking

  19. 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

  20. Lab 2: Introduction to .Net • Using code snippets to insert a for loop and if statement

More Related