nerdexam
Microsoft

70-515 · Question #84

You are developing an ASP.NET web application. The application includes a class library named Contoso.dll that will be used by other ASP.Net applications on the same server. You need to ensure that…

The correct answer is B. Install the class library into the Global Assembly Cache on the server. See the full explanation below for the reasoning.

Question

You are developing an ASP.NET web application. The application includes a class library named Contoso.dll that will be used by other ASP.Net applications on the same server. You need to ensure that only one copy of the class library exists on the server. What should you do?

Options

  • AAdd the following code segment to the top of each web page.
  • BInstall the class library into the Global Assembly Cache on the server.
  • CDeploy the class library on the App_Code folder
  • DAdd the following assembly attribute to the Contoso class library ́s AssemblyInfo.cs file.

How the community answered

(66 responses)
  • A
    5% (3)
  • B
    83% (55)
  • C
    2% (1)
  • D
    11% (7)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice