.NET
Framework includes an execution engine called CLR
and class library.
Shared
(VB.NET) or static members (C#) - These are class
methods that can be used directly without first creating an object
from the class. These members can be called from the class name.
Example of such member is Math class.
Virtual
folder: Web applications can exist only in a
location that has been published by IIS as a virtual folder. It is
shared resource identified by an alias that represents a physical
location on a server. The virtual folder named //localhost is the
web root folder on your computer. IIS determines the physical
location of your Web root folder. By default, IIS installs the
folder on your root drive at \Inetpub\wwwroot.
View
state: ASP.NET preserves data between
requests using view state. View state is available only
within the web page.
State
variable: It allows data entered on a
web page available on other web pages in an
application.
Application state variables: The
value of these variables are available to all users of an
application.
Session state variables: The value of
these variables are available only to a single session
(user).
Application
event handlers in
ASP.NET
Application_Start:
occurs when first user visits a
page.
Application_End: occurs
when last user exit from the
site.
Application_BeginRequest:
occurs at the beginning of each request to the
server.
Application_EndRequest:
occurs at the end of each request to the
server.
Session_Start: occurs
when a new user visits a page within your
application.
Session_End: occurs
when a user stops requesting pages from the web
application.
ASP.NET
web form events
Page_Init:
server controls are loaded and
initialized.
Page_Load: server
controls are loaded in the page
object.
Page_PreRender:
application is about to render the Page object.
Page_Unload: page is unloaded
from memory.
Page_Disposed: page
object is released from memory.
ASP.NET transaction events are
Page_AbortTransaction: occurs
when transaction is
aborted.
Page_CommitTransaction: occurs
when transaction is
accepted.
Page_DataBinding:
occurs when server control on the page
binds to a data source.
Server
control events in ASP.NET
Postback events
cause the web page to be sent back to the server for
immediate processing. These events have performance issue
because they trigger a round-trip to the server.
Cached events save controls in the page’s
view state to be processed when a postback event occurs.
Validation events occur before the page is post
back to the server.
.