Microsoft
70-576 · Question #19
You are designing a custom SharePoint 2010 solution package. It will include a feature that contains a Web Part, which requires a custom assembly for its functionality. You need to design the…
The correct answer is D. Create the Web Part feature as a sandboxed solution. See the full explanation below for the reasoning.
Question
You are designing a custom SharePoint 2010 solution package. It will include a feature that contains a Web Part, which requires a custom assembly for its functionality. You need to design the feature based on the following requirements:
- The Web Part must be a partial trust application and support a custom
Code Access Security (CAS) Policy.
- The solution package must be deployed without the need of farm-level
administrator permissions. Which approach should you recommend?
Options
- ACreate the Web Part feature and deploy the required assembly to the bin directory of only the
- BCreate the Web Part feature assembly with a strong name and deploy it using a .wsp file to the
- CCreate an assembly with a strong name and deploy it to the global assembly cache at the farm
- DCreate the Web Part feature as a sandboxed solution.
How the community answered
(56 responses)- A14% (8)
- B7% (4)
- C4% (2)
- D75% (42)
Community Discussion
No community discussion yet for this question.