Which approach should you recommend?

You are designing a SharePoint 2010 application that will deploy a Web Part assembly.
You need to specify which element to add to the solution manifest (manifest.xml) to meet the following requirements:
The Web Part must retrieve data from an external database but must not require a custom access policy.
.The companys security policies specify that all SharePoint Web applications must run at minimal trust.
Which approach should you recommend?

You are designing a SharePoint 2010 application that will deploy a Web Part assembly.
You need to specify which element to add to the solution manifest (manifest.xml) to meet the following requirements:
The Web Part must retrieve data from an external database but must not require a custom access policy.
.The companys security policies specify that all SharePoint Web applications must run at minimal trust.
Which approach should you recommend?

A.
Add a DwpFile element and an Assembly element specifying a Deployment Target of GlobalAssemblyCache.

B.
Add a DwpFile element and an Assembly element specifying a Deployment Target of Web Application.

C.
Add a Safe Control element within an Assembly element specifying a Deployment Target of GlobalAssemblyCache.

D.
Add a Safe Control element within an Assembly element specifying a Deployment Target of Web Application.



Leave a Reply 0

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