Creating a Visual Web Part Sandboxed Solution for SharePoint Online

Version: 1.0

Description

In this lab you will learn how to create a Visual Web Part in a sandboxed solution and deploy that solution to SharePoint Online.

Overview

Lab Time: 20 minutes

Lab Folder: C:\%Office365TrainingKit%\Labs\2.1\Source\Before

Lab Overview: Sandboxed Solutions allow you to create SharePoint Online solutions that are easy to develop, deploy and administer. In this lab you will learn how to create a Visual Web Part in a sandboxed solution and deploy that solution to SharePoint Online using the Visual Studio 2010.

The Visual Studio 2010 SharePoint Power Tools provide two pieces of important functionality to SharePoint Online developers:

  • A Sandboxed solution compatible Visual Web Part SharePoint project template.
  • Sandboxed solution compatibility compile-time checking.

The Visual Web Part you will create queries a SharePoint list from the SharePoint Online site as an example of a common scenario.

System Requirements

You must have the following items to complete this lab:

  • SharePoint 2010
  • Visual Studio 2010
  • SharePoint Designer 2010
  • Visual Studio 2010 SharePoint Power Tools
  • SharePoint Online site
    • Note: You will need administrator access to an SPO site collection to perform the steps in this lab.