VB.Net Interview Question and Answers

51. What are the different types of Caching?
 
    There are three types of Caching :
  • Output Caching
  • Fragment Caching
  • Data Caching.
 
Your Name Your Email-ID
Your Answer
52. What is Reference type and value type?
  Reference Type : Reference types are allocated on the managed CLR heap, just like object types. A data type that is stored as a reference to the value’s location. Reference types can be self-describing types, pointer types, or interface types.
Value Type : Value types are allocated on the stack just like primitive types in VBScript, VB6 and C/C++. Value types are not instantiated using new go out of scope when the function they are defined within returns.
 
Your Name Your Email-ID
Your Answer
53. What is Delegates?
  Delegates are a type-safe, object-oriented implementation of function pointers and are used in many situations where a component needs to call back to the component that is using it.
 
Your Name Your Email-ID
Your Answer
54. What is Authentication and Authorization?
  Authentication is the process of identifying users. Authentication is identifying/validating the user against the credentials (username and password).
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
55. What is a Static class?
  Static class is a class which can be used or accessed without creating an instance of the class.
 
Your Name Your Email-ID
Your Answer