Copyright ©2004 and Distribution Rights Held by DotNetTechnology, LLC. This material is exclusively used by DotNetTechnolo...
Working in Visual  Studio .NET <ul><li>Why Use VS.NET? </li></ul><ul><li>Features in VS.NET </li></ul><ul><li>Getting Star...
Section Objectives <ul><li>After completing this section, you will be able to: </li></ul><ul><ul><li>List the features fou...
Why Use VS.NET? <ul><li>Code management </li></ul><ul><li>Built-in code compilation </li></ul><ul><li>Code insight </li></...
Features in VS.NET <ul><li>Visual Studio.NET offers an integrated development environment for creating VB.NET and C#  appl...
Getting Started with VS.NET <ul><li>The Visual Studio.NET start page </li></ul>
VS.NET Options <ul><li>Customizations can be done on a language by language basis. (Select Tools, Options on the menu.) </...
Projects and Solutions in VS.NET <ul><li>VS.NET projects are composed of several different files relating to the specific ...
Creating Projects in VS.NET <ul><li>VS.NET supports creating many new project types through the File, New, Project menu. <...
Other Project Types <ul><li>Database and deployment projects can be created in VS.NET. </li></ul>
VS.NET Solution Environment
VS.NET Solution Windows
VS.NET Code Editor Code regions  allow code to be expanded and contracted.
VS.NET Project Configuration <ul><li>VS.NET projects can easily be configured by  right-clicking the project and selecting...
VS.NET Project Compilation <ul><li>VS.NET projects are compiled by using the  Build menu. </li></ul><ul><li>Solutions with...
VS.NET Debugging Features <ul><li>VS.NET contains a powerful debugger that allows you to set breakpoints in code and step ...
VS.NET Debugging Windows
Stress Testing Applications with ACT <ul><li>Visual Studio.NET Enterprise editions  contain ACT: </li></ul><ul><ul><li>Sim...
ACT in Action
Summary <ul><li>Visual Studio.NET provides a powerful development environment with many time saving features including: </...
<ul><li>Both client/server and Web-based projects can be built using VS.NET. </li></ul><ul><ul><li>True </li></ul></ul><ul...
Upcoming SlideShare
Loading in …5
×

Working in Visual Studio.Net

762 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
762
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Working in Visual Studio.Net

    1. 1. Copyright ©2004 and Distribution Rights Held by DotNetTechnology, LLC. This material is exclusively used by DotNetTechnology, LLC Consultants as a teaching aid. Any unauthorized usage including teaching, copying, and redistribution is strictly prohibited. .NET Programming with VB.NET Session 3 Dutch Dasanaike November 2004 VB.Net Dutch Dasanaike © 2004 DotNetTechnology.com . All rights reserved.
    2. 2. Working in Visual Studio .NET <ul><li>Why Use VS.NET? </li></ul><ul><li>Features in VS.NET </li></ul><ul><li>Getting Started with VS.NET </li></ul><ul><li>VS.NET Options </li></ul><ul><li>Projects and Solutions in VS.NET </li></ul><ul><li>Creating Projects in VS.NET </li></ul><ul><li>VS.NET Solution Environment </li></ul><ul><li>VS.NET Code Editor </li></ul><ul><li>VS.NET Project Configuration </li></ul><ul><li>VS.NET Project Compilation </li></ul><ul><li>VS.NET Debugging Features </li></ul><ul><li>Stress Testing Applications with ACT </li></ul>
    3. 3. Section Objectives <ul><li>After completing this section, you will be able to: </li></ul><ul><ul><li>List the features found in VS.NET </li></ul></ul><ul><ul><li>Explain how VS.NET can be used to build .NET applications </li></ul></ul><ul><ul><li>Explain how to create a project using VS.NET </li></ul></ul><ul><ul><li>Explain how to compile a project using VS.NET </li></ul></ul><ul><ul><li>Explain how to perform basic stress testing using VS.NET </li></ul></ul>
    4. 4. Why Use VS.NET? <ul><li>Code management </li></ul><ul><li>Built-in code compilation </li></ul><ul><li>Code insight </li></ul><ul><li>Source control </li></ul><ul><li>Integrated help </li></ul><ul><li>Many more features </li></ul>Since both ASP.NET Web Forms and Windows Forms applications can be written in an editor as simple as Notepad, why invest in VS.NET?
    5. 5. Features in VS.NET <ul><li>Visual Studio.NET offers an integrated development environment for creating VB.NET and C# applications. </li></ul><ul><li>Important features of VS.NET: </li></ul><ul><ul><li>Intellisense, code completion, formatting, and quick Info </li></ul></ul><ul><ul><li>To do and task lists </li></ul></ul><ul><ul><li>Integrated IDE and code help system </li></ul></ul><ul><ul><li>Support for solutions and projects </li></ul></ul><ul><ul><li>Built-in debugging (code and stored procedures) </li></ul></ul><ul><ul><li>Integrated, visual design environment for Web and client/server applications </li></ul></ul><ul><ul><li>Visual design environment for wireless applications </li></ul></ul><ul><ul><li>Integrated database and server support </li></ul></ul><ul><ul><li>Architectural features </li></ul></ul><ul><ul><li>Stress Testing with Application Center Test </li></ul></ul>
    6. 6. Getting Started with VS.NET <ul><li>The Visual Studio.NET start page </li></ul>
    7. 7. VS.NET Options <ul><li>Customizations can be done on a language by language basis. (Select Tools, Options on the menu.) </li></ul>
    8. 8. Projects and Solutions in VS.NET <ul><li>VS.NET projects are composed of several different files relating to the specific type of application </li></ul><ul><li>A Project resides within a solution. A single solution can have multiple projects. </li></ul>Solution Projects VB.NET/C# source code .vb, .cs VB.NET/C# project file .vbproj, .csproj Solution user options .suo Solution file .sln Description Extension
    9. 9. Creating Projects in VS.NET <ul><li>VS.NET supports creating many new project types through the File, New, Project menu. </li></ul>
    10. 10. Other Project Types <ul><li>Database and deployment projects can be created in VS.NET. </li></ul>
    11. 11. VS.NET Solution Environment
    12. 12. VS.NET Solution Windows
    13. 13. VS.NET Code Editor Code regions allow code to be expanded and contracted.
    14. 14. VS.NET Project Configuration <ul><li>VS.NET projects can easily be configured by right-clicking the project and selecting Properties. </li></ul>
    15. 15. VS.NET Project Compilation <ul><li>VS.NET projects are compiled by using the Build menu. </li></ul><ul><li>Solutions with multiple projects can be compiled in a single step. </li></ul>
    16. 16. VS.NET Debugging Features <ul><li>VS.NET contains a powerful debugger that allows you to set breakpoints in code and step through code line by line as it executes. </li></ul><ul><li>The debugger offers several different windows, including: </li></ul><ul><ul><li>Watch </li></ul></ul><ul><ul><li>Command </li></ul></ul><ul><ul><li>Immediate </li></ul></ul><ul><ul><li>Output </li></ul></ul><ul><ul><li>Locals </li></ul></ul><ul><ul><li>Call Stack </li></ul></ul><ul><ul><li>Breakpoints </li></ul></ul>
    17. 17. VS.NET Debugging Windows
    18. 18. Stress Testing Applications with ACT <ul><li>Visual Studio.NET Enterprise editions contain ACT: </li></ul><ul><ul><li>Simulate multiple users creating many connections to a server (long duration, high-load stress testing) </li></ul></ul><ul><ul><li>Test users sending cookies </li></ul></ul><ul><ul><li>Simulate different authentication methods to judge scalability (SSL, for example) </li></ul></ul>
    19. 19. ACT in Action
    20. 20. Summary <ul><li>Visual Studio.NET provides a powerful development environment with many time saving features including: </li></ul><ul><ul><li>Code Intellisense and completion </li></ul></ul><ul><ul><li>Integrated help system </li></ul></ul><ul><ul><li>Server explorer, class viewer, etc. </li></ul></ul><ul><ul><li>Code management through projects and solutions </li></ul></ul><ul><ul><li>Integrated debugging </li></ul></ul><ul><ul><li>Many more </li></ul></ul>
    21. 21. <ul><li>Both client/server and Web-based projects can be built using VS.NET. </li></ul><ul><ul><li>True </li></ul></ul><ul><ul><li>False </li></ul></ul><ul><li>VS.NET supports the following .NET languages out of the box: </li></ul><ul><ul><li>a. VB.NET </li></ul></ul><ul><ul><li>b. C# </li></ul></ul><ul><ul><li>c. Managed C++ </li></ul></ul><ul><ul><li>d. All of the above </li></ul></ul>Section Review

    ×