2. Session Prerequisites
This session assumes that you familiar
with:
HTML
Component-Based or Object-Oriented
Development
Java, Visual C++ or Visual Basic
programming language
3. Agenda
How is ASP.NET Different from ASP?
Object-Oriented Programming
Why Do We Need a New Version?
Main Goals of ASP.NET
Benefit of ASP.NET
Web Services
ASP.NET Mobile Controls
4. How is ASP.NET Different from
ASP?
Not just a new version, a whole new
idea and way of programming web
applications
Written from ground up
In many areas, compatibility with ASP
has been broken
New file extension: “.aspx”
5. Why Do We Need a New
Version?
ASP is a scripted language
Interpreted
Lack of strong types
Lack of compiled environment
Only support late-bound calling of method
Mixing code and HTML content
Object-Oriented
6. Object-Oriented Programming (OOP)
Using Object-Oriented Analysis and Design
(OOAD)
Integrating Process and Data
Highly extensible and reusable, using
component technology
7. Thinking About Objects
An Entity with a well-defined boundary and
identity that encapsulates state and behavior
State: represented by attributes and
relationshipsvariable
Behavior: represented by operations, methods,
and state machinesfunction
Represents an entity: physical entity (truck),
conceptual entity (chemical process), or
software entity (Linked List)
8. Thinking About Objects (cont.)
Reusable software components that
model real-world items
Look all around you
People, animals, plants, cars, etc.
Attributes
Size, shape, color, weight, etc.
Behaviors
Babies cry, crawl, sleep, etc.
9. Main Goals of ASP.NET
Make code cleaner
Improve deployment, scalability,
security and reliability
Provide better support for different
browsers and devices
Enable a new breed of web applications
10. Benefit of ASP.NET
Multiple Languages
Server Processing
Web Form Control
Consistency
User Experience
Devices
Code and Content Separation
Configuration
Deployment
11. Developer Productivity
Easy programming model
Flexible language options
Great tool support
Rich class framework
Multiple Language: VB.NET, C# and Jscript
Server Processing: One of big problems with ASP is that pages simply define one big function, which started at the top of the page and finished at the bottom. Therefore our logic was dependent upon its position in the page, and there’s no way to target HTML controls except by rendering them as part of the stream.