3) What namespace does the Web page belong in the .NET Framework class hierarchy?
It belongs to System.Web.UI.Page.
4) What is namespace?
Namespace avoids the clashes between classes is called namespace. Namespace is a
collection of structure, class, interface, delegate and enumeration.
10) Should user input data validation occur server-side or client-side? Why?
Data validation are to be performed both on the server side as well as on the client side
inorder for better performance and provide better quality.
11) Can you explain the difference between an ADO.NET Dataset and an ADO
Recordset?
Dataset are universal but ADO.NET come in different version for different sources.
Dataset don’t have the concept of cursor.
Dataset don’t have current record pointer.
14) What are the Application_Start and Session_Start subroutines used for?
The Application_Start and Session_Start used mainly to set the variables for session
and application objects.
15) Explain what a diffgram is, and a good use for one?
Inorder to render the dataset object into XML the diffgram is used. The main use of
the difgram is that reading the data in the database to an XML file which could be sent to
web service.
19) What is the difference between Server.Transfer and Response.Redirect? Why would
I choose one over the other?
Server.Transfer function transfers processing of page directly to the next page, and
hence provides faster response with little overheads.
Response.Redirect is to direct to another website or page.
24) What are the different types of Session state management options available with
ASP.NET?
The two session state management are:
In-process state management
Out process state management.