2310 b 02

618 views

Published on

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

No Downloads
Views
Total views
618
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
40
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

2310 b 02

  1. 1. Module 2:Using Microsoft Visual Studio .NET
  2. 2. Overview <ul><li>Overview of Visual Studio .NET </li></ul><ul><li>Creating an ASP.NET Web Application Project </li></ul>
  3. 3. Lesson: Overview of Visual Studio .NET <ul><li>Why Visual Studio .NET? </li></ul><ul><li>Start Page </li></ul><ul><li>Available Project Templates </li></ul><ul><li>Practice: Select the Project Template </li></ul><ul><li>Integrated Development Environment (IDE) </li></ul><ul><li>Demonstration: Using the Visual Studio .NET IDE </li></ul><ul><li>Practice: Using the Visual Studio .NET IDE </li></ul>
  4. 4. Why Visual Studio .NET? <ul><li>One IDE for multiple languages and multiple project types </li></ul><ul><li>Multiple languages within a project </li></ul><ul><li>Multiple project types within a solution </li></ul><ul><li>Integrated browser </li></ul><ul><li>Debugging support </li></ul><ul><li>Customizable interface </li></ul>
  5. 5. Start Page <ul><li>Online support access </li></ul><ul><li>Recent projects </li></ul>
  6. 6. Available Project Templates <ul><li>The list of available project templates is based on your Profile and Project Type selections </li></ul>
  7. 7. Practice: Select the Project Template <ul><li>Students will: </li></ul><ul><ul><li>Select the correct project template given a scenario </li></ul></ul><ul><li>Time: 5 minutes </li></ul>
  8. 8. Integrated Development Environment (IDE) Toolbox Task List Solution Explorer Dynamic Help Editor/Browser Properties Server Explorer Object Browser
  9. 9. Demonstration: Using the Visual Studio .NET IDE <ul><li>Open Visual Studio .NET </li></ul><ul><li>Create a new ASP.NET Web Application </li></ul><ul><li>Rename the Web Application </li></ul><ul><li>Add tasks to the Task List </li></ul><ul><li>Use Dynamic Help </li></ul>
  10. 10. Practice: Using the Visual Studio .NET IDE <ul><li>Students will: </li></ul><ul><ul><li>Perform tasks with the Visual Studio .NET IDE </li></ul></ul><ul><li>Timing </li></ul><ul><ul><li>5 minutes </li></ul></ul>
  11. 11. Lesson: Creating an ASP.NET Web Application Project <ul><li>The Development Process </li></ul><ul><li>Web Application Files </li></ul><ul><li>Web Application File Structure </li></ul><ul><li>Demonstration: Creating a Web Application Project </li></ul>
  12. 12. The Development Process Create a Design Specification Build Test and Debug Create the Interface and Write Code Create a New Project Visual Studio .NET Deploy
  13. 13. Web Application Files <ul><li>Solution files (.sln, .suo) </li></ul><ul><li>Project files (.vbproj, .csproj) </li></ul><ul><li>Web application files </li></ul><ul><ul><li>ASP.NET Web Forms (.aspx) </li></ul></ul><ul><ul><li>ASP.NET Web services (.asmx) </li></ul></ul><ul><ul><li>Classes, code-behind pages (.vb or .cs) </li></ul></ul><ul><ul><li>Global application classes (.asax) </li></ul></ul><ul><ul><li>Web.config file </li></ul></ul><ul><li>Project assembly (.dll) </li></ul>
  14. 14. Web Application File Structure wwwroot Bin Inetpub ProjectA My Documents Development Files Assembly Files WebForm1 .aspx WebForm1 .aspx.vb (Code-behind page ) Visual Studio Projects Solution Solution .sln ProjectA .vbproj ProjectA .dll Build
  15. 15. Demonstration: Creating a Web Application Project <ul><li>Populate the ASP.NET Web Form </li></ul><ul><li>Add a new ASP.NET Web Form </li></ul><ul><li>Add a new project </li></ul><ul><li>Write code for the button </li></ul><ul><li>Build and debug the solution </li></ul>
  16. 16. Review <ul><li>Overview of Visual Studio .NET </li></ul><ul><li>Creating an ASP.NET Web Application Project </li></ul>
  17. 17. Lab 2: Using Microsoft Visual Studio .NET Medical Medical.aspx Benefits Home Page Default.aspx Life Insurance Life.aspx Retirement Retirement.aspx Dentists Dental.aspx Dentists Doctors Doctors.aspx Doctors Logon Page Login.aspx Registration Register.aspx Coho Winery Prospectus Prospectus.aspx XML Web Service dentalService1.asmx Page Header Header.ascx ASPState tempdb Lab Web Application User Control namedate.ascx Menu Component Class1.vb or Class1.cs XML Files Web. config

×