VB.Net Interview Questions and Answers for Freshers - 1

Question: 1

What is CAS or Code Access Security?

CAS is the part of the .NET security model that determines whether or not a piece of code is allowed to run, and what resources it can use when it is running.

For example, it is CAS that will prevent a .NET web applet from formatting a hard disk.

Question: 2

What are the types of Authentication?

There are 3 types of Authentication. Windows, Forms and Passport Authentication.

Windows authentication uses the security features integrated into the Windows NT and Windows XP operating systems to authenticate and authorize Web application users.

Forms authentication allows you to create your own list/database of users and validate the identity of those users when they visit your Web site.

Passport authentication uses the Microsoft centralized authentication provider to identify users. Passport provides a way to for users to use a single identity across multiple Web applications. To use Passport authentication in your Web application, you must install the Passport SDK.

Question: 3

What is GAC or Global Assembly Cache?

Global Assembly Cache (GAC) is a common place to share the .NET assemblies across many applications.

GAC caches all strong named assembly references within it.

All System assemblies that come with the .NET framework reside in the GAC.

Question: 4

What is an assembly? 

Assemblies are the building blocks of the .NET framework.

They are the logical grouping of the functionality in a physical file.

Question: 5

What are different types of Assemblies?

Single file and multi file assembly.

Assemblies can be static or dynamic.

Private assemblies and shared assemblies.

Related Questions