XpertSolvers: Your Partner in Building Innovative Software Solutions
Asp.net presentatn
1.
2.
3.
4. 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 ”.
5. 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.
6.
7. 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
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
9.
10.
11.
12.
13.
14. 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
15.
16. 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>