APL - 01 Brief Introduction and Core Concepts Part 2
APL - 01 Brief Introduction and Core Concepts Part 2
ASP.NET Features:
Provides better user authentication
Has better language support.
Has a large set of new controls (web controls)
Uses compiled code, which increases the performance of the applications
It is programmable using any of the .NET languages (VB.NET, C#, VJ# etc).
The ASP.NET pages are saved with the .aspx extension.
CODE BEHIND PAGES
With code behind Pages developers and designers can work independently
WebForm1.aspx.cs WebForm1.aspx
form1.asp
PAGE DEVELOPMENT
Page is loaded, control hierarchy initialized
List1_SelectedIndexChanged
1. Change Events
Page_Unload
Page is disposed
SESSION AND APPLICATION
VARIABLES
Session variables
Remembered until the client closes the browser (or the session timeout expires – default 20
minutes)
Only for one client
Session[“ValidUser”] = true
Application variables
Always remembered
For all clients
Application[“NumClients”] = NumClients + 1
WORKING OF AN ASP.NET APPLICATION
CLIENT
WORKING OF AN ASP.NET APPLICATION
CLIENT
ADVANTAGES OF ASP.NET
Easy Programming Model
Flexible Language Options
Compiled Execution
Rich Class Framework
Web-Farm Session State
Enhanced Reliability
Master Pages , Themes
Improved Security
Improved Performance and Scalability
ANY QUESTION