ASP.NET Exclusive Interview Questions and Answers (348) - Page 7

  • A joint initiative from DotNetFunda.Com and Questpond.
  • A one stop place on the internet to get trusted and proven Interview Questions (based on more than a decade of experience in this field) to ensure the success of the candidates.
  • You will find almost all Interview questions from Questpond here and this list is growing day by day with all latest and updated interview questions.

348 records found.

Get 650+ Questpond's Interview videos on discount

What is Session Identifier?

SessionIdentifier is used to identify session. It has SessionID property. When
a page is requested, browser sends a cookie with a session identifier.
This identifier is used by the web server to determine if it belongs to
an existing session. If not, a Session ID (120 - bit string) is
generated by the web server and sent along with the response.
In ASP.NET intrinsic objects are defined in new classes in the __________ namespace.

NOTE: This is objective type question, Please click question title for correct answer.
The intrinsic Request object is defined as a property of the ____________ class

NOTE: This is objective type question, Please click question title for correct answer.
_____________, to get the length, in bytes, of the content sent by the client browser.

NOTE: This is objective type question, Please click question title for correct answer.
The ASP ___________ object is used to send output to the user from the server.

NOTE: This is objective type question, Please click question title for correct answer.
Session object event scripts are declared in the _____________

NOTE: This is objective type question, Please click question title for correct answer.
The ASPError object is created when _________ is called

NOTE: This is objective type question, Please click question title for correct answer.
_______Prevents other users from modifying the variables in the Application object

NOTE: This is objective type question, Please click question title for correct answer.
_____________ Sends buffered HTML output immediately

NOTE: This is objective type question, Please click question title for correct answer.
___________ Destroys a user session

NOTE: This is objective type question, Please click question title for correct answer.
___________ Sets or returns the maximum number of seconds a script can run before it is terminated

NOTE: This is objective type question, Please click question title for correct answer.
What is the difference between the Page_Init and Page_Load events?

Page_Init
The Page_Init event is the first to occur when an ASP.NET page is executed. This is where you perform any initialization steps that you need to set up or create instances of server controls. You can't access controls in this event because there is no guarantee that they have been created yet. Controls are created during this event, and you can control whether your attempt to use these objects will be denied by the server processing your request.
The Page_Init event fires only the first time the page is loaded. When you postback to any page, the Page_Init event doesn't fire.
The Page_Load event fires each time the page loads, postback or not.

Page_Load
This event occurs only when all the objects on the page have been created and are available for use.
Among these which event is controlled by the Global.asax __________

NOTE: This is objective type question, Please click question title for correct answer.
What is INETINFO.exe ?

If the request is with extension aspx/asp, inetinfo.exe processes the request to API filter. ISAPI filter will

have several runtime modules called as ISAPI extensions. To process the request ISAPI filter takes the help of

these runtime modules. The runtime module loaded for ASP page is
asp.dll. And for ASP.NET page it's ASPNET_ISAPI.dll. From here the
request is processed to the "worker process". Worker Process will have
several application domains.

When is the code in Global.asax compiled?

NOTE: This is objective type question, Please click question title for correct answer.
What happended if View State is set to false ?

If
"EnableViewstate" of page directive is set to false then during the
page life cycle programatically changed data is not added to the hidden
element called _VIEWSTATE and thus if round trip is made to the same
page the old state of the control is not restored. 

Session level code & variables may be declared in _____________ event.

NOTE: This is objective type question, Please click question title for correct answer.

More ASP.NET Interview Questions & Answers here

Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Exclusive Interview Questions and Answers Categories