ASP.NET Interview Questions and Answers (1544) - Page 77

Which one of the following is used to obtain performance information about a Web Application ?

NOTE: This is objective type question, Please click question title for correct answer.
___________ methods are used with application object to ensure only one process accesses a variable time ?

NOTE: This is objective type question, Please click question title for correct answer.
By default,ASP.NET store Session IDs in ____________ ?

NOTE: This is objective type question, Please click question title for correct answer.
Which one of the following is to be implemented for .NET remote server object ?

NOTE: This is objective type question, Please click question title for correct answer.
____________ is a property common in every validation control ?

NOTE: This is objective type question, Please click question title for correct answer.
What namespace does the webpage belong in the .Net Frame Work class hierarchy ?

NOTE: This is objective type question, Please click question title for correct answer.
Which of the following base class do all the web Forms inherit from ?

NOTE: This is objective type question, Please click question title for correct answer.
Which one of the following is the last stage of the Web Forms life cycle ?

NOTE: This is objective type question, Please click question title for correct answer.
__________ is the first method that is fired during the page load ?

NOTE: This is objective type question, Please click question title for correct answer.
When does garbage collector runs ?

NOTE: This is objective type question, Please click question title for correct answer.
Which one of the following is the type of assembly that contains localized resource ?

NOTE: This is objective type question, Please click question title for correct answer.
Which of the following object encapsulates the state of client and the browser ?

NOTE: This is objective type question, Please click question title for correct answer.
____________ is the Microsoft IIS server running , handling ASP.NET requests among other things ?

NOTE: This is objective type question, Please click question title for correct answer.
Which of the following is the fastest way to concat strings in ASP.NET ?

NOTE: This is objective type question, Please click question title for correct answer.
Which one of the following is used to obtain performance information about a web application ?

NOTE: This is objective type question, Please click question title for correct answer.
What are HttpHandlers and HttpModules in ASP.NET?

HttpHandler : ASP.NET uses HttpHandlers to handle specific requests on the basis of it's extensions. ASP.NET Page Handler handles all requests coming for (.aspx) pages. Similarly, we can create our own HttpHandler also to handle a specific request with a specific extension for images, javascript, css etc.

Note : Only one handler can be there for a one extension.


HttpModule : ASP.NET uses HttpModules to add some specific functionality along with ASP.NET default functionality for all incoming requests regardless of its extensions. It can be used to URL re-writing and some other security related implementations.
Default session mode in web.config file?

NOTE: This is objective type question, Please click question title for correct answer.
In page life cycle in which event the final changes to viewstate and control values can be made?

NOTE: This is objective type question, Please click question title for correct answer.
What is the difference between a Hash Table and a Dictionary?

The main differences are listed below.

Dictionary:

Returns an error if the key does not exist
No boxing and unboxing
Faster than a Hash table
Hashtable:

Returns NULL even if the key does not exist
Requires boxing and unboxing
Slower than a Dictionary
Explain the application event handlers in ASP.NET ?

Below are the event handlers in sequence of their execution -

Application_Start - Fired when the first user visits a page of the application or first resource is requested from the server.
Application_End - Fired when there are no more users of the application.
Application_BeginRequest - Fired at the beginning of each request to the server.
Application_EndRequest - Fired at the end of each request to the server.
Session_Start - Fired when any new user visits.
Session_End - Fired when the users stop requesting pages and their session times out.
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories