Breaking News
Loading...
Tuesday 7 August 2012

VB.Net Interview Question and Answers 4

05:04
46. 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.

47. What are the types of Authentication?
There are 3 types of Authentication.
Windows authentication
Forms authentication
Passport authentication.

48 What is a Literal Control?
The Literal control is used to display text on a page. The text is programmable. This control does not let you apply styles to its content.

49. What are the namespace available in .net?
Namespace is a logical grouping of class.
System
System.Data
System.IO
System.Drawing
System.Windows.Forms
System.Threading

50. What is Side-by-Side Execution?
The CLR allows any versions of the same-shared DLL (shared assembly) to execute at the same time, on the same system, and even in the same process. This concept is known as side-by-side execution.

51. What are the different types of Caching?
There are three types of Caching :
Output Caching
Fragment Caching
Data Caching.

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.

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.

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.

55. What is a Static class?
Static class is a class which can be used or accessed without creating an instance of the class.

56 What is sealed class?
Sealed classes are those classes which can not be inherited and thus any sealed class member can not be derived in any other class. A sealed class cannot also be an abstract class.

57. What are the two main parts of the .NET Framework?
There are the two main parts of the .NET Framework are :
The common language runtime (CLR).
The .NET Framework class library.

58. What is the advantage of using System.Text.StringBuilder over System.String?
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time it's being operated on, a new instance is created.

59. What is reflection?
All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection.

60. What is an Application Domain? How they get created?
An Application Domain can be thought of as a lightweight processes controlled by the .Net runtime. Application Domains are usually created by hosts like Windows Shell, ASP.NET and IE. When you run a .NET application from the command-line, the host is the Shell. The Shell creates a new Application Domain for every application.

<< 1 2 3 4 5 6 7 8 >>

Share This :
Tags:

0 comments:

Post a Comment

 
Toggle Footer