nerdexam
Microsoft

70-573 · Question #236

You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server. You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint Server 2010…

The correct answer is A. Create a new Web Part by using the code from WebPart1. MNEMONIC RULE: "new Web Part" Since sandboxed solutions have been introduced only with SharePoint 2010, your only option is to use theMOSS 2007 Web Part source code and create a new sandboxed Web Part.

Developing SharePoint Solutions

Question

You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server. You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint Server 2010. What should you do?

Options

  • ACreate a new Web Part by using the code from WebPart1.
  • BCreate a new Visual Web Part by using the code from WebPart1.
  • CCreate an ASCX file for WebPart1, and then copy the file to the ISAPI folder.
  • DCreate an ASCX file for WebPart1, and then copy the file to the CONTROLSTEMPLATES

How the community answered

(27 responses)
  • A
    70% (19)
  • B
    7% (2)
  • C
    19% (5)
  • D
    4% (1)

Explanation

MNEMONIC RULE: "new Web Part" Since sandboxed solutions have been introduced only with SharePoint 2010, your only option is to use theMOSS 2007 Web Part source code and create a new sandboxed Web Part.

Topics

#sandboxed solution#Web Part migration#SharePoint 2010#solution packaging

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice