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.
- Define web parts.
- Explain how to interact with a web part.
- Recall how to help determine what declarative code and user code is.
- Identify which object allows you to get data from more than one list.
- Identify what class timer jobs are derived from.
- Recognize different types of event receivers.