Asp Net
Asp Net
to
ASP.NET
Yingcai Xiao
Approach
Get the
What is a Computer?
From the Websters New World Dictionary:
1. A person who computes.
2. A device used for computing (an
electronic machine which by means of
stored instructions and information,
perform rapid, often complex calculations
or compiles, correlates, and selects data).
OS1
OS2
OS1
OS2
JIT Compiler
An interpreter interprets intermediate code one
line at a time. Slow execution.
A JIT (Just-In-Time) Compiler compiles the
complete code all at once just into native binary
code before execution. Faster execution.
OS1
OS2
OS-Independent Code:
Intermediate Languages
The trend to support OS-independent binary
code is to compile the source code into the binary
format of an intermediate language.
And to provide an interpreter for the
intermediate language on each OS to translate the
binary code of the intermediate language into the
native binary code of the OS.
OS1
OS2
MSIL Code
MSIL JIT Compiler on OS1
OS1
OS2
.NET OS-Platform-Independence
A Common Language?
CLR on OS2
OS1
OS2
.NET Language-Independence
CLR on OS2
OS1
OS2
OS1
OS2
What is .NET?
.Net is a framework for developing OSplatform-independent, programminglanguage-independent, web-enabled,
distributed applications.
UDDI Registry 2
SOAP
Client 2
Web Service 1
UDDI Registry 1
WSDL Interface 1
Web Service 2
WEB
SOAP
WSDL Interface 2
http://en.wikipedia.org/wiki/.NET_Framework
Browser
Local
Distributed
Accessible
Applications
Applications
Remote
Applications
(Windows
Forms or
Console
Applications)
(ASP.NET)
Other
Applications
(Mobile, )
Web
Data
(Database)
Forms
(GUI)
UI
Services
Enterprise
Services
XML
String,
(Data
Description)
Connection
DataSet
XmlDocument
Versions of .NET
.Net is evolving.
1.0: fundamentals
CLR, FCL
2.0: http://forums.asp.net/t/1115522.aspx
partial classes, profile object, ACL
3.0: http://forums.asp.net/t/1115522.aspx
WCF (Communication),
WWF (Workflow),
WPF (Presentation)
4.0: http://msdn.microsoft.com/enus/library/ms171868.aspx
DLR (dynamic language runtime)
improved security model
parallel processing (PLINQ)
http://en.wikipedia.org/wiki/.NET_Framework
Tim Berners-Lee
ASCII text (ISO/IEC 8859-1) is platform-independent.
HTTP (Hyper Text Transport Protocol)
e.g.
GET wp.html
Assembly Language for the Internet
HTML (Hyper Text Markup Language)
High-level language for the Internet)
hyper text: text that describes other text
tags: type definition of text in text
<title>WP</title>
all tags are predefined in HTML
only system defined types, no user defined types
Recognizable by all types of computers. (World Wide Web)