.Net Assemblies Interview Questions and Answers - 1
What is an assembly?
An Assembly is a collection of files that appear to be a single DLL or executable.
Assemblies are the .NET unit of reuse, versioning, security and deployment.
It also contains resources such as .gif files, type definitions for each class, metadata.
What are the two conditions in the shared assembly?
There are two conditions, which should be followed while using the shared assembly.
Exact assembly is specified to load.
Ensure that the assembly has not been tampered.
Define Global Assembly Cache (GAC)?
The global assembly cache is a special directory set aside where strongly named assemblies can be stored and located by the CLR.
As part of resolving references at load time. The CLR automatically looks in the GAC for the requested assembly.
Which tool is used to install the shared assembly in to GAC?
The global assembly cache tool gacutil is used to install the shared assembly.
Define the Four policy levels in. NET Security?
.NET recognizes four policy levels. Enterprise, Machine, User, Application Domain.
Enterprise – Define security policy across all machines.
Machine – Define security for a single machine.
User – Define security policy for individual users.
Application Domain- Applied to code running in a specific app domain.
DI Pie Chart Questions and Answers for Bank Exams More
100+ Area Aptitude Questions and Answers Pdf More
100+ Data Interpretation Pie Chart Questions and Answers More
True Discount Questions and Answers for Bank Exams More
100+ HCF and LCM Questions and Answers for SSC Exams More
Technical Quiz Questions with Answers in Computer Science More
Top 150+ C++ Language Quiz Questions and Answers 2019-2020 More
Top 10+ Number Sequence Puzzles with Answers More
1000+ GK Questions and Answers 2020-2021 More
1000+ Banking Abbreviations Quiz Questions More