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