ASP.Net Interview Question and Answers

116. What is web.config file?
  Web.config file is the configuration file for the Asp.net web application. There is one web.config file for one asp.net application which configures the particular application. Web.config file is written in XML with specific tags having specific meanings.It includes databa which includes connections,Session States,Error Handling,Security etc.
 
Your Name Your Email-ID
Your Answer
117. What is the difference between in-proc and out-of-proc?
  An Inproc is one which runs in the same process area as that of the client giving tha advantage of speed but the disadvantage of stability becoz if it crashes it takes the client application also with it.
Outproc is one which works outside the clients memory thus giving stability to the client, but we have to compromise a bit on speed.
 
Your Name Your Email-ID
Your Answer
118. What is a PostBack?
  The process in which a Web page sends data back to the same page on the server.
 
Your Name Your Email-ID
Your Answer
119. Which control would you use if you needed to make sure the values in two different controls matched?
  CompareValidator is used to ensure that two fields are identical.
 
Your Name Your Email-ID
Your Answer
120. What is the difference between HTTP-Post and HTTP-Get?
  The GET method creates a query string and appends it to the script's URL on the server that handles the request.
The POST method creates a name/value pairs that are passed in the body of the HTTP request message.
 
Your Name Your Email-ID
Your Answer