You are on page 1of 10

Naresh Information

Technologies
w|ndows Form:
w|ndows User |nterface
A8P.NET
web Forms & web 8erv|ces
.NET Framework ase 6|ass L|brary
A00.hE7: 0ata & XML A00.hE7: 0ata & XML
6ommon Language Runt|me
.NET Framework
ASP.NET ASP.NET
Web Forms Web Forms Web Services Web Services
ASP.NET ASP.NET
Web Forms Web Forms Web Services Web Services
Windows Windows
Forms Forms
Common Language Specification Common Language Specification Common Language Specification Common Language Specification

C++ C++
C# C#
JScript JScript J# J#
V
i
s
u
a
l

S
t
u
d
i
o
.
N
E
T
V
i
s
u
a
l

S
t
u
d
i
o
.
N
E
T
Operating System Operating System
Common Language Runtime Common Language Runtime
Base Class Library Base Class Library
ADO.NET and XML ADO.NET and XML
Web Forms Web Forms Web Services Web Services
Mobile Forms Mobile Forms
Web Forms Web Forms Web Services Web Services
Mobile Forms Mobile Forms
Forms Forms
V
i
s
u
a
l

S
t
u
d
i
o
.
N
E
T
V
i
s
u
a
l

S
t
u
d
i
o
.
N
E
T
Prerequisites for Web Applications Prerequisites for Web Applications
Web Applications & Desktop Applications
Web Server with Web Applications
Web Server Role, about IIS
Web Browsers, Web Support Languages
Scripting
Client-Side & Server-Side Scripting
State Management
WebForms &
WinForms
In .NET, GUI-based web applications are
called WebForms
vs. WinForms, which are GUI-based Windows
desktop applications
Example: a simple web-based Calculator Example: a simple web-based Calculator
ASP.NET Features ASP.NET Features
Simplified
Better Performance
Strong typed Language
Event Driven Model Event Driven Model
Separation of Code & Design
Security
Easier Deployment & Configuration
Debugging
Better State Management
Web Forms Web Forms
Compiled
Support for VB Language
Built-In Designers
Server-Side Controls
Intelligent Forms
ASP.Net ExecutIon ScenarIo
Runtime Compilation
ASPX
Request Request
ASPX ASPX
Engine Engine
Parse Parse
Gen'd
Page
Generate Generate
Code Code--
behind behind
class class
ASPX
File
Request Request
Page
Class
Response Response
Request Request
Instantiate Instantiate
Response Response
Page Page
Class Class Instantiate, Instantiate,
Process and Process and
Render Render
Compile Compile
ASP.NET Pages: Part Declarative, Part Code
Combines declarative tags (HTML, ASPX
directives, server controls tags, and static text)
with code in a single file or in separate files.
Unlike ASP, good separation provided
between code and tags

between code and tags


Form1.aspx Form1.aspx Form1.aspx Form1.aspx Form1.aspx.vb Form1.aspx.vb
single file
separate files ("code-behind")
code code
<tags> <tags>
code code
<tags> <tags>

You might also like