Sandboxed Solutions Lab

Version: 2.0

Description

: The support for sandboxed solutions provides an important new deployment mechanism for SharePoint. With a development methodology that is the same for ‘full’ solutions the key focus point is not on what to build, but on what can be built. In this lab exercise you will construct a basic Web Part that will call into the SharePoint API to retrieve some information. Next it will try and use SPSecurity to try and elevate privileges. The third and last action that is added is an attempt to initiate a HTTP connection to an external site.

Overview

Lab Time: 45 minutes

Lab Folder: C:\Student\Labs\13_SandboxedSolutions

Lab Overview: The support for sandboxed solutions provides an important new deployment mechanism for SharePoint. With a development methodology that is the same for ‘full’ solutions the key focus point is not on what to build, but on what can be built. In this lab exercise you will construct a basic Web Part that will call into the SharePoint API to retrieve some information. Next it will try and use SPSecurity to try and elevate privileges. The third and last action that is added is an attempt to initiate a HTTP connection to an external site.

Note:
Lab Setup Requirements

Before you begin this lab, you must run the batch file named SetupLab13.bat. This batch file runs a PowerShell script which creates a new SharePoint site collection at the location https://intranet.contoso.com/sites/Lab13.