.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.
1000+ Civil Engineering Interview Questions and Answers Pdf More
1000+ Civil Engineering Questions for Interview More
1000+ Building Materials and Construction Multiple Choice Questions More
1000+ Building Materials and Construction Objective Questions Pdf More
100+ Civil Engineering Question Papers with Answers Pdf More
100+ National and International Awards 2022-2023 Gk Questions More
Top 50+ Calendar Aptitude Questions and Answers Pdf More
100+ Blood Relation Questions for Competitive Exams More
IBPS, SBI, RBI Banking Current Affairs Questions & Answers More
High School Chemistry Questions and Answers More