ASP.Net Interview Question and Answers

146. What is role based security?
  By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL.
 
Your Name Your Email-ID
Your Answer
147. What is the difference between Asp and Asp.net?
  ASP (Active Server Pages) and ASP.NET are both server side technologies for building web sites and web applications, ASP.NET is Managed compiled code - asp is interpreted. and ASP.net is fully Object oriented.
ASP.NET has been entirely re-architected to provide a highly productive programming experience based on the .NET Framework, and a robust infrastructure for building reliable and scalable web applications.
 
Your Name Your Email-ID
Your Answer
148. What is the base class of Asp.net?
  system.Web.UI
 
Your Name Your Email-ID
Your Answer
149. what is use of web.config?
 
  • Web.config is used connect database from front end to back end.
  • Web.config is used to maintain the Appsettimgs instead of static variables.
 
Your Name Your Email-ID
Your Answer
150. What is RangeValidator?
  RangeValidator - checks whether a value falls within a given range of number, date or string.
 
Your Name Your Email-ID
Your Answer