Sei sulla pagina 1di 14

ASP

ASP.NET(Active Server Pages)


ASP is a web development platform, which provides a programming model,
a comprehensive software infrastructure and various services required to
build up robust web applications for PC, as well as mobile devices.
ASP.NET works on top of the HTTP protocol, and uses the HTTP commands
and policies to set a browser-to-server bilateral communication and
cooperation.
ASP.NET is a part of Microsoft .Net platform. ASP.NET applications are
compiled codes, written using the extensible and reusable components or
objects present in .Net framework. These codes can use the entire
hierarchy of classes in .Net framework.
The ASP.NET application codes can be written in any of the following
languages:

C#
Visual Basic.Net
Jscript
J#

Web Forms
A web form has a code behind and the designer files.
A web form has an extension of .aspx
Code behind files has the extension of .aspx.cs
Designer files has the extension of
.aspx.designer.cs
User written code should be in code behind files and
auto generated code should be in designer file.
A web form should be associated with its code file using
the @Page directive.
A web form HTML file can be edited in SOURCE or
DESIGNER mode.

View state
WEB applications work on http protocol and it is a stateless
protocol i.e it doesnt retain any state between user
requests.
Web forms lives barely for a moment.
When a request is received

An instance of the requested web form gets created.


Events processed
Generates HTML & posts to the client
The web form is immediately destroyed.

View state variable stores the data and it travels with


every request and response between the client and the web
server

ASP.NET

ADO.Net - Sql. DataAdapter

Potrebbero piacerti anche