We replaced this sample with a newer sample on GitHub. To use or contribute to the samples on GitHub, see the following:

This set of .NET client object model (CSOM) samples shows how to use apps for SharePoint and the cloud app model to provision SharePoint sites—specifically with branding elements.

Each sample consists of a standalone project created in Visual Studio and shows a distinct aspect of the remote provisioning pattern—either related directly to site provisioning techniques or to using those techniques to brand a SharePoint site. Each sample includes additional information that explains in more detail what it does. Use the samples as starting points for your own application and to exercise remote provisioning techniques.

To open a solution:

  1. Start Visual Studio 2012 or Visual Studio 2013.
  2. On the File menu, choose Open, and then choose Project/Solution.
  3. Navigate to the folder that contains the .sln file, select it, and then choose Open.

To run a solution:

  1. In the solution files, read and follow the comments that describe how to set up your environment if necessary.
  2. On the Build menu, choose Build Solution.
  3. When you have a successful build, open the shortcut menu for (right-click) the project in the Solution Explorer window, and then choose Deploy <Solution Name>.

Related content

Office 365 Developer Patterns and Practices