concept sandbox in category sharePoint

appears as: sdbox, sandbox, The sdbox
SharePoint 2010 Web Parts in Action

This is an excerpt from Manning's book SharePoint 2010 Web Parts in Action.

This time you’re going to deploy your solution to the sandbox. Begin by selecting Deploy As Sandboxed Solution, enter the name of the site to use for debugging, and click Finish. The Sandboxed Solution option in the SharePoint Customization wizard is set as the default option. This is an indication on how Microsoft wants us to develop SharePoint solutions and I agree that, whenever it’s possible, the sandbox should be used. When building solutions for Office 365 and SharePoint Online, Sandboxed Web Parts is the only to go. You’ll learn more about this as we move along in this book.

The sandbox in SharePoint allows site collection owners to create, deploy, and run their own solutions in a monitored and restricted sandbox. The resources and application failures in sandboxed solutions are measured, and a solution that exceeds its quota is automatically shut down. All this is done using the web interface, but adding a lot of solutions using the web interface isn’t the best way. The SharePoint Power-Shell extensions provide commands that automate these tasks.

When the limitations of the sandbox are too strict, SharePoint offers a way to build proxies that run in full trust and that can be used by sandboxed solutions. These proxies can’t be installed by the users; they must be installed as farm solutions and only administrators have control over them. You’re going to change our previous RSS Web Part into a sandbox solution. You’ll do this by removing the call in the Web Part to the external RSS feed and replacing it with a call to a full-trust proxy. The proxy that runs under full trust will then make the call to fetch the RSS feed and return it to the sandboxed Web Part.