FeedBack Form

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

ASP.NET INTERVIEW QUESTION & ANSWERS

26. What is the use of @Register directives?
  @Register directive informs the compiler of any custom server control added to the page.
Your Name Your Email-ID
Your Answer
 
27. What is the difference between Authentication and Authorization?
 
  • Authentication is the process of identifying users.
  • Authentication is identifying/validating the user against the credentials (username and password) and Authorization performs after authentication.
  • Authorization is the process of granting access to those users based on identity.
  • Authorization allowing access of specific resource to user.
Your Name Your Email-ID
Your Answer
 
28. What is the simplest way to write an HTML string to the output of an ASP.NET page?
  The simplest possible way to write an HTML string is to use the Response.Write method.
Your Name Your Email-ID
Your Answer
 
29. What is the difference between Server-side and client-side code?
  Server side code is executed at the server side on IIS in Asp.NET framework, while client side code is executed on the browser.
Your Name Your Email-ID
Your Answer
 
30. How do you change the timeout for a Session object?
  You can change the timeout for a Session object by setting its Timeout property or by using the Web.Config file.
Your Name Your Email-ID
Your Answer