SharePoint 2010 : Sandbox Solution Part 2

Sandbox supported DLLS
  1. You can add the Microsoft.SharePoint.DLL
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\UserCode\assemblies\ Microsoft.SharePoint.dll

Sandbox Prohibited Classes and functions

  1. All other SharePont Object Model Assembly except Microsoft.SharePoint.dll. Example you can not add the other SharePoint exmple. Microsoft.Office.Policy.dll, Microsoft.Office.Server.UserProfiles.dll etc. 
  2. SPSite Constructor 
  3. SharePoint.WebControl (Can not Access SharePoint Picker Control, CssLink etc) 
  4. SPSecurity (not run with elevated  privileges).
  5. SendEmail
  6. Can not assess any Database
  7. Can not write to disk
  8. can not load the assembly outside the server except Without AllowPartiallyTrustedCallersAttribute  (Full trust proxy run on the farm.). Most of the user use the sand box don’t have a access to their server.
  9. No custom Web services
  10. No Talk to any other servers from the server. 
  11. No Pragmatic workflow deploy in sandbox solution.
  12. Sandbox does not support re-direction – no Response.Redirect, no Server.Transfer,  no SPUtility.Redirect.


 To read/write data to list user must have an access to the list.



SharePoint 2010 : Sandbox Solution Part 3



Popular posts from this blog

SharePoint RPC Protocols Examples Using OWSSVR.DLL

SharePoint 2016 JavaScript framework

STS CryptographicException Error : Key set does not exist