Professional Documents
Culture Documents
NET
ASP.NET
http://sdetu/courses/sdetc101/
Lecture 04
Thursday, February 14, 2008
Agenda
• Quick recap…
• Introduction to .NET
• Introduction to ASP.NET
.NET ?
for an application.
from scratch.
environment.
executing.
• Memory Management.
• Thread Management.
• Exception handling.
• Garbage collection
• Security
.NET Application
.NET Framework
Operating System
14 Feb 2008 ASP.NET 9
.NET Frameworkase Class Library
Operating System
14 Feb 2008 ASP.NET 10
.NET Frameworkta Access Layer
• Access relational databases
• Disconnected data model
• Works with XML
Operating System
14 Feb 2008 ASP.NET 11
.NET FrameworkP.NET & Windows Forms
Operating System
14 Feb 2008 ASP.NET 12
.NET Frameworkommon Language Specification
C++Common
C# Language
VB Perl Specification
J# …
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
Operating System
14 Feb 2008 ASP.NET 13
.NET Frameworkisual Studio .NET
C++ C# VB Perl J# …
Operating System
14 Feb 2008 ASP.NET 14
.NET Framework Architecture
executing applications.
runtime environment
Code in another
Code in VB.NET Code in C#
.NET Language
Appropriate
VB.NET compiler C# compiler
Compiler
IL(Intermediate
Language) code
CLR just-in-time
execution
Native Code
CLR accepts the IL code and recompiles it to machine code. The recompilation is
just-in-time (JIT) meaning it is done as soon as a function or subroutine is called.
The JIT code stays in memory for subsequent calls. In cases where there is not
enough memory it is discarded thus making JIT process interpretive.
For optimization reasons, JIT compilation occurs only the first time a
method is invoked.
The compiled native code lies in memory until process shuts down and
• Platform Independent
• Hardware Independent
• Language Independent
Visual Studio.NET
ASP.NET: Web Services Windows
and Web Forms Forms
ASPX
.ASPX
.ASPX
Compiled
Compiled .ASPX
.ASPX
Compiled
Compiled .ASPX
.ASPX
Compiled
Compiled .ASPX
.ASPX
JIT Compiler
Native Code
Simplified deployment
Better performance
Caching
Security
Powerful controls
Web services
XCOPY Deployment.
What is ASP.NET?
How it works ?