August 2010 - Posts


Comments

Is your code running in a SharePoint Sandbox? by svdoever

You could execute a function call that is not allowed in the sandbox (for example call a static method on SPSecurity) and catch the exception. A better approach is to test the friendly name of you app domain: AppDomain.CurrentDomain.FriendlyName returns...
Filed under:

Comments

Logging to SharePoint 2010 ULS log from sandbox by svdoever

You can’t log directly from sandbox code to the SharePoint ULS log. Developing code without any form of logging is out of this time, so you need approaches for the two situations you can end up with when developing sandbox code: You don’t have control...
Filed under:
More Posts