nerdexam
Microsoft

70-573 · Question #3

You are creating a Web Part that will be deployed as a sandboxed solution. You need to ensure that the Web Part can write debugging information to the SharePoint trace logs. Which class should the…

The correct answer is D. SPProxyOperation. MNEMONIC RULE: "sandboxed solution needs SPProxyOperation" You can implement your full-trust functionality in classes that derive from the SPProxyOperation abstract classand deploy the assembly to the global assembly cache. These classes expose a full-trust proxy that you…

Developing SharePoint Solutions

Question

You are creating a Web Part that will be deployed as a sandboxed solution. You need to ensure that the Web Part can write debugging information to the SharePoint trace logs. Which class should the logging component inherit?

Options

  • ASPDelegate
  • BSPLog
  • CSPPersistedObject
  • DSPProxyOperation

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    4% (1)
  • D
    80% (20)

Explanation

MNEMONIC RULE: "sandboxed solution needs SPProxyOperation" You can implement your full-trust functionality in classes that derive from the SPProxyOperation abstract classand deploy the assembly to the global assembly cache. These classes expose a full-trust proxy that you cancall from within the sandbox environment. Full-trust proxies can provide a useful way to expose logging and configuration functionality to sandboxedapplications. Hybrid Approaches

Topics

#sandboxed solution#SPProxyOperation#ULS logging#trace logs

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice