Professional Documents
Culture Documents
NET
Different?
Scott Mitchell
Overview
The evolution of the Web.
Classic ASP overview its strengths and
weaknesses.
Time for something new: an examination of
Microsofts .NET Strategy.
ASP.NET to the Rescue!
Comparing and Contrasting ASP.NET and
classic ASP.
For more information
The Evolution of the Web
Dynamic Scripts Distributed, Compiled
Static Web Pages
Dynamic scripts allowed for Programs
Content was static. To
user interaction with a Web
alter the look and feel of a
site. Web content could be Web pages are actual,
Web page, a programmer
dynamically generated programs created using
had to physically alter the
based on a number of object-oriented
contents of the page itself.
variables, such as user programming techniques.
The static nature of the input. Allowed for the Web These programs are
Web at this time removed to serve as an application compiled instead of
any possibility of a user medium.
interpreted like the scripts
interacting with a Web site
or interaction among Web
Development was anything of the past.
but easy. The scripting
sites. A focus on Inter-Web
nature of development led
Performance was great to poor programming server communication
and development easy, practices and messy code. allows developers to build
but the Web lacked any Also, interaction among Web truly distributed
real usability. sites was possible, but applications on the Web.
limited and difficult.
Classic ASP - Strengths
Low cost of entry
Quick and easy to learn for experienced
developers and new developers alike.
Can create very useful Web applications in
a relatively short amount of time.
An active ASP community
Many, many great classic ASP books, Web
sites, training classes, and conferences.
Classic ASP - Weaknesses
Script-based technology used, leading to
poorer performing, less readable code than a
compiled counterpart.
Encouraged developers to shamelessly
intermix code (script) and content (HTML).
Difficult to debug.
Lacked modern programming features, such
as trycatch exception handling, true object-
orientation, etc.)
Fixing Classic ASP
ASP.NET, as well shortly see, fixes all of
these problems inherent in classic ASP!
JITed
Your
application CLR
running!!!
The .NET Framework
The .NET Framework contains a plethora of
developer libraries that insulates the OS from
the developer.
These libraries are broken down into
hundreds of classes grouped in logical
namespaces, where each namespace
separates a different set of classes.
The .NET Framework is similar in concept to
the Win32 API, except the .NET Framework is
OO-based and sensibly arranged with helpful
documentation.
The .NET Framework (Continued)