You are on page 1of 16

Developing Web Applications

Using Microsoft® Visual


Studio® 2008
Module 1: Overview of the Microsoft .NET Framework
• Introduction to the .NET Framework

• Overview of ASP.NET

• Overview of the Lab Application


Lesson: Introduction to the .NET Framework
• What Is Microsoft .NET?

• The .NET Framework Components

• Benefits of the .NET Framework

• Visual Studio 2008: The Tool for .NET Development


What Is Microsoft .NET?

Developer Clients
Tools

ASP.NET Web
Applications

Databases
User
XML Web Experiences
Services
The .NET Framework Components

Programming
Programminglanguages
languages

.NET
.NET2.0
2.0 .NET
.NET3.0
3.0 .NET
.NET3.5
3.5
technologies
technologies technologies
technologies technologies
technologies

.NET
.NETclass
classlibrary
library

Common
Commonlanguage
languageruntime
runtime

Operating
Operatingsystem
system
Benefits of the .NET Framework
• Based on Web standards and practices

• Functionality of .NET Framework classes is universally


available
• Code is organized into hierarchical namespaces and
classes
• Extensible and language independent

MFC/ATL
Windows .NET
Visual Basic
API Framework
ASP
1980s 1990s 2000s
Visual Studio 2008: The Tool for .NET Development

Web Forms, Windows


ASP.NET AJAX Forms, WPF

Multiple Error Handling


Languages

Web Services, Data Access,


WCF LINQ

Design Develop Debug Deploy


Lesson: Overview of ASP.NET
• What is ASP.NET?

• ASP.NET Web Applications

• Multimedia: ASP.NET Dynamic Compilation Execution


Model
• Microsoft .NET Framework Resources
What Is ASP.NET?
• Programming framework for building Web-based
applications
• Browser independent

• Language independent

ASP.NET provides:
• Dynamic Web pages that can access server resources

• Server-side processing of Web Forms

• Support for XML Web services


ASP.NET Web Applications
ASP.NET Web Server
Clients

Web Web.
Page1.
Forms

Output Cache
aspx config

Internet Code-
behind
pages
(optional)
Page2. global. machine.
aspx asax config

Web
Services

Database
XML
Components
Data
Multimedia: ASP.NET Dynamic Compilation
Execution Model
Microsoft .NET Framework Resources
• .NET Framework documentation
 Code samples
 Quick Start tutorials

• Online communities
 http://go.microsoft.com/fwlink/?LinkId=110730

• Web sites
 http://go.microsoft.com/fwlink/?LinkId=110684
 http://go.microsoft.com/fwlink/?LinkId=110714
 http://go.microsoft.com/fwlink/?LinkId=110715
 http://www.codeplex.com/
Lesson: Overview of the Lab Application
• Lab Application Setup

• Demonstration: The Lab Solution


Lab Application Setup
• 2 Projects
 Web site
 Web Service

• 11 Web forms

• 2 Databases
 Doctors
 Dentists
Demonstration: The Lab Solution

Master Page
Logon Page benefitsMaster.master
login.aspx
Benefits Lab Web
Home Page Application
ASPState
Default.aspx Page Header
header.ascx
Menu Component
Registration Benefits.cs or Benefits.vb
register.aspx TempDB
Web.
config

Life Insurance Retirement Medical Dentists


life.aspx retirement.aspx medical.aspx dental.aspx

Prospectus
prospectus.aspx Doctors User Control XML Web
LINQ to SQL doctors.aspx nameDate.ascx Service
Classes DentalService1.asmx
Doctors.dbml

Doctors Dentists
XML Files
Module Review and Takeaways
• Review Questions

• Real-World Issues and Scenarios

• Tools

You might also like