Developing Microsoft Azure and Web Services — Question 19

You have a web server that hosts several web applications.
From Microsoft Visual Studio, you create an assembly that is signed.
You need to make the assembly available to all of the web applications on the web server. The solution must minimize the number of copies of the assembly.
Which tool should you run?

Answer options

Correct answer: B

Explanation

The correct answer is B, sn.exe, which is used to sign assemblies and manage their strong names. The other options do not fulfill the requirement of making the signed assembly available to all applications: gacutil.exe installs assemblies into the Global Assembly Cache, tlbImp.exe imports type libraries, and regasm.exe registers .NET assemblies for COM interop, but they do not specifically handle the signing process.