FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

ASP.NET INTERVIEW QUESTION & ANSWERS

96. What is the difference between trace and debug in Asp.Net?
  Debug mode compiler inserts some debugging code inside the executable. As the debugging code is the part of the executable they run on the same thread where the code runs and they do not given you the exact efficiency of the code.

Trace works in both debug as well as release mode. The main advantage of using trace over debug is to do performance analysis which cannot be done by debug. Trace runs on a different thread thus it does not impact the main code thread.
Your Name Your Email-ID
Your Answer
 
97. How can you redirect users to a different page?
  Use the Response.Redirect method to direct users to different pages. Remember that you must call this method before any HTML is rendered for a page.
Your Name Your Email-ID
Your Answer
 
98. What is the base class of Asp.net?
  System.Web.UI
Your Name Your Email-ID
Your Answer
 
99. How do we ensure view state is not tampered?
  Using the @page directive and setting 'EnableViewStateMac' property to true.
Your Name Your Email-ID
Your Answer
 
100. What file do you use to configure a Web application?
  Use the web.config file to configure Web applications.
Your Name Your Email-ID
Your Answer