ASP.NET mean is Active Server Pages . It is a server-side Web
application framework designed for Web development to produce
dynamic Web pages .It was developed by Microsoft to allow
programmers to build ,
• Dynamic web sites,
• Web applications
• Web services
• The latest version of ASP is known as ASP.NET
• Visual Studio .NET is a developer application used to
create ASP.NET Web applications
• There are two main types of Web resources created
with ASP.NET applications
– Web Forms are ASP.NET pages within an ASP.NET
– Web Services are ASP.NET Web pages that contain
publicly exposed code so that other applications can
interact with them
– Web Services are identified with the file extension .asmx
ASP.NET 1.0 was released on January 5, 2002 as part of version
1.0 of the .NET Framework.
Scott Guthrie became the product unit manager for ASP.NET, and
development continued apace, with version 1.1 being released on
April 24, 2003 as a part of Windows Server 2003. This release
focused on improving ASP.NET's support for mobile devices.
• Improved Performance and Scalability.
Compiled Execution, Rich Output Caching, Web Farm Session State.
• Enhanced Reliability.
Memory Leak, Dead Lock, and Crash Protection
• Easy Deployment.
No Touch" Application Deployment, Dynamic Update of Running
Application, Easy Migration Path
• New Application Models.
XML Web Services
• Developer Productivity.
Easy Programming Model, Flexible Language Options, Rich Class Framework.
• Code-behind model
It is recommended by Microsoft for dealing with dynamic program code
to use the
code-behind model, which places this code in a separate file or in a specially designated
• User controls
ASP.NET supports creating reusable components through the creation of User Controls
• Rendering technique
ASP.NET uses a visited composites rendering technique. During compilation, the
template (.aspx) file is compiled into initialization code which builds a control tree (the
composite) representing the original template
• Compiled code
Code written in ASP.NET is compile and not interpreted.
• Enriched tool support
ASP.NET applications using visual studio
• Power and flexibility
ASP.NET applications are based on the CLR
ASP.NET enables you to build user interfaces that separate application logic from
ASP.NET provides a number of options in providing the above facilities
• Server control
Respond to users events by running event procedures on the
• HTML control
Represent the standard visual elements provided in HTML
• Data control
Provide a way to connect to perform commands on and
retrieve data from SQL , OL ,databases and XML data files
• System components
Provide access to various system level events that occur on the
Create Local Folders for Your Web
Create a Blank Solution
Add a Web Site to Your Solution
Add a Class Library (Optional)
Check Your Solution Structure
Check Your Local Folder Structure
Add Your Solution to Source Control
January 16, 2002
First version, released together with Visual Studio .NET
April 24, 2003
released together , Windows Server 2003 and Visual
Studio .NET 2003
November 7, 2005
released together with Visual Studio 2005 , Visual Web
and SQL Server 2005
November 21, 2006
November 19, 2007
Released with Visual Studio 2008 and Windows Server
April 12, 2010
Parallel extensions and other .NET Framework
August 15, 2012
Released with Visual Studio 2012 and Windows Server
2012 for Windows 8
1. Client Initiates
With page request
Server response with
1. Process request
2. Execute server slide
3. Store session data
4. Send result response
• This section provides an overview of the ASP.NET
security infrastructure. The following illustration
shows the relationships among the security systems in
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<script runat ="server">
protected void PageLoad (object sender, EventArgs e )
Label1.Text = DateTime.Now.ToLongDateString();
<form id="form1" runat="server">
The current time is: <asp:Label runat="server" id="Label1" />
• DTEC study text (Part ii)
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.