What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application includes two namespaces named Contoso.Security and Contoso.Log.
Classes in the Contoso.Security namespace will be distributed for use in a data access layer component.
Classes in the two namespaces will be distributed for use by other client components in the application.
Not all client components will use both the Contoso.Security and Contoso.Log classes.
You plan to design a strategy for component reuse. You need to ensure that unnecessary code is not distributed to any client application.
You also need to ensure that all necessary code is available to dependent components.
What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application includes two namespaces named Contoso.Security and Contoso.Log.
Classes in the Contoso.Security namespace will be distributed for use in a data access layer component.
Classes in the two namespaces will be distributed for use by other client components in the application.
Not all client components will use both the Contoso.Security and Contoso.Log classes.
You plan to design a strategy for component reuse. You need to ensure that unnecessary code is not distributed to any client application.
You also need to ensure that all necessary code is available to dependent components.
What should you do?

A.
Create one assembly for the Contoso.Security and Contoso.Log namespace classes.
Reference the assembly from the data access layer components.

B.
Create one assembly for the Contoso.Security namespace classes.
Create one assembly for the Contoso.Log namespace classes.
Reference the Contoso.Security assembly from the data access layer components.

C.
Create one assembly for the Contoso.Security namespace classes.
Create one assembly for the Contoso.Log namespace classes.
Reference the Contoso.Log assembly from the data access layer components.

D.
Create one assembly for the Contoso.Security namespace classes.
Create one assembly for the Contoso.Log namespace classes.
Reference the two assemblies from the data access layer components.



Leave a Reply 0

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