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)- A5% (3)
- B83% (55)
- C2% (1)
- D11% (7)
Community Discussion
No community discussion yet for this question.