Join Robert Bogue for an in-depth discussion in this video Executing long-running operations, part of Developing SharePoint Full Trust Solutions for SharePoint 2013.
- Let's take a look at what some…of our execution options are when it comes…to writing code in SharePoint.…The first set are in-page options.…These run in-line with the user's code.…You can write yourself a web page or a web part.…Or you can even just put a control on the page.…There's another set of execution options…which are what are called quasi-page…which means they run mostly with the page…but can sometimes get thrown out…and placed in other processes.…The first is a workflow.…
The second is an event receiver.…These take action on what the user's doing on the page…but aren't necessarily involved in the page directly.…The last kind of execution option…is an out-of-page execution option.…In here we have timer jobs…which can be run repeatedly or run once…but they run outside of the user's context of execution.…Or you can go to the trouble and build yourself a service.…That'll give you all sorts of execution options…but is a little more challenging to create.…
So if we have in-page options for execution,…why don't we just use that all the time?…
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.