ASP.Net Interview Question and Answers

126. What’s the difference between Response.Write () and Response.Output.Write()?
  Response.Outout.Write allows us to write the formatted out put.
 
Your Name Your Email-ID
Your Answer
127. What namespaces must you import to use data mechanisms in your ASP.NET pages?
  System.Data, and optionally either System.Data.OleDb or System.Data.SQL. These provide additional methods and objects that allow you to work with databases.
 
Your Name Your Email-ID
Your Answer
128. What is the difference between page level caching and fragment caching?
  In the page level caching, an entire Web page is cached; whereas, in the fragment caching, a part of the Web page, such as a user control added to the Web page, is cached.
 
Your Name Your Email-ID
Your Answer
129. Which class deals wit the user’s locale information?
  System.Web.UI.Page.Culture
 
Your Name Your Email-ID
Your Answer
130. What are the different types of Caching?
 
    There are three types of Caching :
  • Output Caching : stores the responses from an asp.net page.
  • Fragment Caching : Only caches/stores the portion of page (User Control)
  • Data Caching : is Programmatic way to Cache objects for performance.
 
Your Name Your Email-ID
Your Answer