Asp.Net Interview Question and Answers for Experienced

16. What is the difference between a static web page and a dynamic web page?
 
  • The HTML markup for a static web page remains constant until a developer actually modifies the page's HTML.
  • The HTML for a dynamic web page, on the other hand, is produced every time the web page is requested.
 
Your Name Your Email-ID
Your Answer
17. What are all the types of data types available in ASP.NET?
  There are two types of data types available in ASP.NET
  • Framework specific data type
  • Language specific data type.
 
Your Name Your Email-ID
Your Answer
18. Explain the types of errors?
 
  • Syntax Errors: These include misspelled or missing keywords, or other mistakes relating to the syntax of the language.
  • Runtime Error: These errors are caused by the code that appears correct to the compiler, but that cannot run with certain values.
  • Logic Error: These are errors in which a program that works correctly under some circumstances gives unexpected or unwanted results based on certain input values.
 
Your Name Your Email-ID
Your Answer
19. In what order do the events of an ASPX page execute?
  Every Page object (which your .aspx page is) has nine events, most of which you will not have to worry about in your day to day dealings with ASP.NET. the three that you will deal with the most are:
  • Page_Init,
  • Page_Load,
  • Page_PreRender
 
Your Name Your Email-ID
Your Answer
20. Which method do you use to redirect the user to another page without performing a round trip to the client?
  Server.transfer()
 
Your Name Your Email-ID
Your Answer
12345678910 Page 4 of 10