Join Robert Bogue for an in-depth discussion in this video Building sandboxed code, part of Developing SharePoint Full Trust Solutions for SharePoint 2013.
- Let's take a look at developing for the sandbox.…This is "Sandboxed Solutions" in SharePoint.…We talked about it briefly and mentioned…we wouldn't spend much time in the course on it,…but it's important to understand what the limitations are,…so you understand why doing full trust development…may be the right answer for you.…Sandbox development uses the same server-side object model…that full trust solutions do, but with a few limitations.…Generally speaking, you do development for the sandbox…when you don't have the ability to deploy a farm solution.…
Either because you don't have access…or because deploying a farm solution…would cause too much outage or logistical issues.…The fundamental thing behind the sandbox…is the idea that, in SharePoint,…all code runs in the same process.…And because of which,…any one bad application could ruin the whole deployment.…So rather than having one bad apple,…an application written poorly,…in with the main SharePoint code and everything else,…it gets isolated.…
That isolation comes with the ability to do things like…
If you've wanted to learn how to develop custom solutions on SharePoint—or you've been told that you need to develop a solution that integrates with SharePoint—this is the training you need. It's quick, to the point, and effective at helping new developers work with SharePoint code.
Robert Bogue shows how to create new web parts, access and update data in SharePoint, work with files, and create SharePoint artifacts: lists and libraries to store data, site-level features, files, etc. He also shows how to create sandbox solutions that do not affect the rest of the server environment, and discusses execution options for solutions, including in-page, quasi-page, and out-of-page execution.
- Developing a web part
- Connecting and configuring web parts
- Building sandboxed code
- Choosing an access method for SharePoint data
- Querying with CAML
- Fetching files
- Updating SharePoint data
- Creating and provisioning artifacts
- Executing long-running operations
- Tinkering with timer jobs
- Understanding SharePoint execution workflow