What should you do?

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?
A. Add the following code segment to the top of each web page.
<%@ Register TagPrefix="cc" NameSpace="contoso"
Assembly="contoso" %>
B. Install the class library into the Global Assembly Cache on the server.
C. Deploy the class library on the App_Code folder
D. Add the following assembly attribute to the Contoso class library’s AssemblyInfo.cs file.
[assembly: AssemblyConfiguration("Shared")]

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.