KEMBAR78
Asp.net presentatn | PPT
ASP stands for Active Server Pages
Part of Microsoft's .NET platform
ASP.NET is built on the CLR, allowing
programmers to write ASP.NET code using
any .NET language like C#, VB.NET.
ASP.NET developed web pages have file
extension
“ .aspx ”.
An ASP.NET file is just the same as an HTML
file
An ASP.NET file can contain HTML, XML,
and scripts
Scripts in an ASP.NET file are executed on
the server
We can develop web services also having
“. asmx” extension.
ASP.NET applications are executed via a sequence
of HTTP requests and HTTP responses
Client Web browser request ASPX pages
The Web server executes the ASPX page and produce XHTML + CSS +
JavaScript
Traditional Web pages (static HTML):
Consist of static HTML, images, styles, etc.
Execute code on the client side
Simple operations
ASP.NET Web Forms :
Execute code on the server side
Database access
Dynamic pages
Higher security level
1. IIS receives the HTTP request
2. IIS using ISAPI sends the request to
aspnet_wp.exe
3. ASP.NET receives request for the first time
4. Basic ASP.NET objects are created for every
request (e.g. Request, Response, etc.)
5. Request is associated with the
HttpApplication object
6. HttpApplication process the request
The functionality of the Web form is defined by using three layers of
attributes
<%@ Page Language="c#"<%@ Page Language="c#"
Codebehind="TestWebForm.aspx.cs"Codebehind="TestWebForm.aspx.cs"
Inherits="MyFirstWebApplication.WebForm"%>Inherits="MyFirstWebApplication.WebForm"%>
<html><html>
<head><title>My First WebForm</title></head><head><title>My First WebForm</title></head>
<body MS_POSITIONING="GridLayout"><body MS_POSITIONING="GridLayout">
<form id="TestForm" method="post"><form id="TestForm" method="post">
<asp:Button ...></aspButton><asp:Button ...></aspButton>
</form></form>
</body></body>
</html></html>
Asp.net presentatn

Asp.net presentatn

  • 4.
    ASP stands forActive Server Pages Part of Microsoft's .NET platform ASP.NET is built on the CLR, allowing programmers to write ASP.NET code using any .NET language like C#, VB.NET. ASP.NET developed web pages have file extension “ .aspx ”.
  • 5.
    An ASP.NET fileis just the same as an HTML file An ASP.NET file can contain HTML, XML, and scripts Scripts in an ASP.NET file are executed on the server We can develop web services also having “. asmx” extension.
  • 7.
    ASP.NET applications areexecuted via a sequence of HTTP requests and HTTP responses Client Web browser request ASPX pages The Web server executes the ASPX page and produce XHTML + CSS + JavaScript
  • 8.
    Traditional Web pages(static HTML): Consist of static HTML, images, styles, etc. Execute code on the client side Simple operations ASP.NET Web Forms : Execute code on the server side Database access Dynamic pages Higher security level
  • 14.
    1. IIS receivesthe HTTP request 2. IIS using ISAPI sends the request to aspnet_wp.exe 3. ASP.NET receives request for the first time 4. Basic ASP.NET objects are created for every request (e.g. Request, Response, etc.) 5. Request is associated with the HttpApplication object 6. HttpApplication process the request
  • 16.
    The functionality ofthe Web form is defined by using three layers of attributes <%@ Page Language="c#"<%@ Page Language="c#" Codebehind="TestWebForm.aspx.cs"Codebehind="TestWebForm.aspx.cs" Inherits="MyFirstWebApplication.WebForm"%>Inherits="MyFirstWebApplication.WebForm"%> <html><html> <head><title>My First WebForm</title></head><head><title>My First WebForm</title></head> <body MS_POSITIONING="GridLayout"><body MS_POSITIONING="GridLayout"> <form id="TestForm" method="post"><form id="TestForm" method="post"> <asp:Button ...></aspButton><asp:Button ...></aspButton> </form></form> </body></body> </html></html>