Microsoft Exam Questions

Which of the following is the main reason for having a strong name for an assembly?

Which of the following is the main reason for having a strong name for an assembly?

A.
It is used in the interpreter.

B.
It is used at runtime to locate the assembly.

C.
It is used to deploy an assembly into the Global Assembly Cache.

D.
It is used to provide security permissions.

Explanation:
Assemblies allow users to create external, user-defined functions using any common language
runtime (CLR) language, such as Microsoft Visual Basic .NET or Microsoft Visual C#. It is possible to
extend the business functionality of DMX and MDX. The functionality that a user wants into a library,
such as dynamic link library (DLL), is first built. This library is then added as an instance of Analysis
Services or to an Analysis Services database. The public methods in the library are then exposed as
the user-defined functions to MDX and DMX expressions, procedures, calculations, actions, and
client applications. Each assembly must have a strong name because it is used at runtime to locate
the assembly. Global assembly cache (GAC) is a machine-wide cache. It stores assemblies that are
designed to be shared amongst multiple applications on a computer. All assemblies stored in the
global assembly cache must have strong names.