quiz1

Quiz 1 - Introduction to ASP.NET


 * When a dynamic web page is requested, the web server passes the request to the
 * Application Server.
 * When a web page is requested for the second time
 * ASP.NET creates an instance of the page from the page’s final assembly.
 * If you’re working alone on an application and you don’t have access to a server computer, you’re using
 * A stand-alone environment.
 * The main purpose of the .NET Framework Class Library is to
 * provide the classes that are used for developing .NET applications.
 * "The .NET Framework includes classes, interfaces, and value types that expedite and optimize the development process and provide access to system functionality.”
 * More info: [|http://msdn.microsoft.com/en-us/library/hfa3fa08(VS.71).aspx]
 * HTTP is known as a stateless protocol because
 * The server that receives an HTTP request for a web page has no way to associate the browser that sent the request with its previous requests.
 * “HTTP is a request/response standard between a client and a server. A client is the end-user, the server is the web site.”
 * More info: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
 * “ASP.NET applications are hosted in a web server and are accessed over the stateless HTTP protocol. As such, if the application uses stateful interaction, it has to implement state management on its own. ASP.NET provides various functionality for state management in ASP.NET applications.”
 * More info: http://en.wikipedia.org/wiki/ASP.NET_state_management#State_management
 * The only software component that’s required to run a web application on a client is
 * The Web Browser
 * When IIS receives an HTTP request for an ASP.NET page, it passes the request on to
 * ASP.NET
 * The protocol that’s used by a web browser and a web server to communicate in a web application is
 * HTTP
 * To maintain the state of an application, ASP.NET provides
 * view state and session state
 * "View state refers to the page-level state management mechanism, which is utilized by the HTML pages emitted by ASP.NET applications to maintain the state of the web form controls and widgets. The state of the controls are encoded and sent to the server at every form submission in a hidden field known as __VIEWSTATE. The server sends back the variable so that when the page is re-rendered, the controls render at their last state."
 * More information: http://en.wikipedia.org/wiki/ASP.NET_state_management#State_management
 * "Session state is a collection of user-defined session variables, which are persisted during a user session. These variables are unique to different instances of a user session, and are accessed using the Session collection. Session variables can be set to be automatically destroyed after a defined time of inactivity, even if the session does not end. At the client end, a user session is identified either by a cookie or by encoding the session ID in the URL itself."
 * More information: http://en.wikipedia.org/wiki/ASP.NET_state_management#State_management
 * Profiles
 * a user profile stored in the database that keeps track of their choices or data that persists between session
 * Application state
 * "Application_OnStart event fires on the loading of the first instance of the applications and are available till the last instance exits. Application state variables are accessed using the Applications collection, which provides a wrapper for the application state variables."
 * More info: http://en.wikipedia.org/wiki/ASP.NET_state_management#State_management
 * Unlike a static web page, a dynamic web page
 * Is defined by web form.