ASP.Net Interview Question and Answers

51. Can we disable ViewState, If, yes how?
  ViewState can be disabled by using "EnableViewState" property set to false.
 
Your Name Your Email-ID
Your Answer
52. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
  All the global declarations or the variables used commonly across the application can be deployed under Application_Start. All the user specific tasks or declarations can be dealt in the Session_Start subroutine.
 
Your Name Your Email-ID
Your Answer
53. What are the types of ASP Objects?
 
    There are various types of Asp objects are :
  • Session Object
  • Application Object
  • Server Object
  • Request Object
  • Request Object
  • Response Object
  • Object Context
  • Error Object
 
Your Name Your Email-ID
Your Answer
54. What base class do all Web Forms inherit from?
  System.web.UI.Page class
 
Your Name Your Email-ID
Your Answer
55. How to Manage State in ASP.Net?
 
    There are several ways to manage a state.
  • ViewState
  • QueryString
  • Cookies
  • Session
  • Application
 
Your Name Your Email-ID
Your Answer