ASP.NET Interview Questions and Answers (1544) - Page 22

What is GAC ?

its global assembly cache use to keep the public assemblies centralized to be used by any application on that machine (server)
What are the types for floating numbers ?

Single (for 32 bit) and Double (for 64 bit)
What's the Purpose of System.Collections.Generic ?

It's having the interfaces and classes which define generic collections, which enable users to create strongly typed collections that provide better type safety and performance.
Elements of CAS ?

permission sets
permissions
policy
evidence
code groups

What's the major role of CLR for CAS ?

The Common Language Runtime allows code to do only those tasks that the code has permission to perform. Hence CAS is CLR's security system that enforces security policies by preventing unauthorized access to protected resources and operations like File system , Printer etc
Name few built in permission-sets in Dot NET !!

1) FullTrust
2) LocalIntranet
3) Internet
4) Execution
5) Nothing

as some of the premission-sets in dot net framework
What is FullTrust premission-set in dot net ?

It means for all the premissions for the code against CAS.
What is Nothing premission-set in dot net ?

It means for no premissions for the code against CAS.
What is Code group in Dot Net in context to CAS ?

It's a logical grouping of code that's having a specified condition for a membership.
FOr Example code in an assembly can belong to one code group in another assembly , the code can bleong another group .
Main Difference between User groups and code groups.

User groups control the authorization only based on distributed Access Control Lists linked to each resource whereas code groups are using centralized permission sets.
Name of some of the types of evidence in Dot Net in context of CAS

1) Site
2) Strong Name
3) Zone
4) URL etc. are few of the evidences in dot net CAS used while creating code groups
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories