Powerful .NET library for provisioning SharePoint artifacts.
Supports SharePoint Online, SharePoint 2019, 2016, 2013 via CSOM/SSOM object models. Limitedly, even SharePoint 2010!

SharePoint artifact provision for .NET platform

Provision more than 120 SharePoint artifacts in highly testable, repeatable and upgradable manner.

Unified provision API

SPMeta2 provisions more than 120 SharePoint artifacts in highly testable, repeatable and upgradable manner.

The library is SharePoint-agnostic. It works with SharePoint Online, SharePoint 2019, 2016, 2013 and 2010 via CSOM or SSOM.

Fluent API, DSL and extensibility

POCO objects define SharePoint artifacts. Consistent DSL is used to express the data model and relationships between artefacts.

Extensible API helps to address specific project needs. Writing custom DSL as easy as writing C# extension methods.

Built by and for Developers

Compiled for various .NET versions and delivered as NuGet packages, SPMeta2 suits most of the custom development scenarios.

It is open sourced, developed publically at GitHub with the input and help of the community.

Rock-solid, loves Visual Studio

More than 1000 regression tests are run against real SharePoint farm and online tenants. The quality is baked into development cycles.

Visual Studio extension brings project and item templates. You can bootstrap SPMeta2 projects straight away.

Production ready!

SPMeta2 is recognized, trusted and used in production by 250+ companies in 30+ countries all over the world.

We worked on more than a thousand tickets on the GitHub gaining a deep understanding of production ready-provisioning.

Support and SLA when needed

You aren't left alone with the source-code. We provide documentation and community support via GitHub and Yammer network.

Mission-critial projects require more attention. Support options are available upon request.

Helping SharePoint developers all over the world

Developers teams use SPMeta2 to improve their delivery cycles.






Satisfied people


NuGet downloads

Kaspersky - best security solutions possible.
Kaspersky - best security solutions possible.
We add value by creating unique tools for your business needs that make a difference in your sector.
Loqutus - we let your IT systems communicate among themselves and your business
Antares Solutions - Digital transformation made easy
ArvoSys - Microsoft SharePoint and related Microsoft's technologies are our cornerstones for building the comprehensive, integrated and scalable solutions.
Australian Government - Department of Human Services
RUSAL is one of the world’s major producers of akuminium and alumina
mwhglobal - We Design With Community In Mind
Connect like never before
tretton37.com - creating value by sharing knowledge
winvision - best ICT solutions for people.
Soprasteria - Delivering Transformation. Together.
Open Technologies

Get started in minutes!

SPMeta2 ships NuGet packages to support major SharePoint and .NET versions.

  • Grab the latest NuGet package

    There are several NuGet packages to support major .NET and SharePoint versions.

    Simply install CSOM or SSOM package

    • > Install-Package SPMeta2.CSOM.Standard
    • > Install-Package SPMeta2.SSOM.Standard

  • Define WHAT to provision

    Define what you want to provision. Fields, lists, webs and so on - all is provided by SPMeta2's definitions.

    Every SharePoint artifact has a corecponding SPMeta2 class - a pure C#.

    You see FieldDefinition, ContentTypeDefinition. There are WebDefinition, ListDefinition and other classes.

  • Define HOW to provision

    Next, define the model - a set of the artifacts to be provisioned to SharePoint. Think of the model as it were a SharePoint site collection or web. You just create the hierarhy of the definitions defining how the artifacts get along with each other.

  • Define API to provision

    Finally, choose the right provision service for your case. SPMeta2 offers CSOM and SSOM based provision services to deploy the model to SharePoint

var siteUrl = "http://intranet-dev";
// Define WHAT to provision - field, content types, etc.
var clientDescriptionField = new FieldDefinition
    Title = "Client Description",
    InternalName = "dcs_ClientDescription",
    Group = "SPMeta2.Samples",
    Id = new Guid("06975b67-01f5-47d7-9e2e-2702dfb8c217"),
    FieldType = BuiltInFieldTypes.Note,
var clientNumberField = new FieldDefinition
    Title = "Client Number",
    InternalName = "dcs_ClientNumber",
    Group = "SPMeta2.Samples",
    Id = new Guid("22264486-7561-45ec-a6bc-591ba243693b"),
    FieldType = BuiltInFieldTypes.Number,
// define content type
var customerAccountContentType = new ContentTypeDefinition
    Name = "Customer Account",
    Id = new Guid("ddc46a66-19a0-460b-a723-c84d7f60a342"),
    ParentContentTypeId = BuiltInContentTypeId.Item,
    Group = "SPMeta2.Samples",
// Define HOW to provision - the model binds things together
// - deploy fields under the site scope
// - deploy content type under the site scope
// - deploy field links to the content type        
var siteModel = SPMeta2Model.NewSiteModel(site =>
        .AddContentType(customerAccountContentType, contentType =>
// create SharePoint client context
var clientContext = new ClientContext(siteUrl);
// Define API to provision - deploy model to SharePoint using CSOM provision service
var csomProvisionService = new StandardCSOMProvisionService();
csomProvisionService.DeploySiteModel(clientContext, siteModel);

Helping people on the field

There is nothing better than stories from the end-users.

Jasper Siegmund
SharePoint Architect, Atos

SPMeta brings an end to the traditional mix of XML and code to deploy and upgrade SharePoint solutions. Coded models are straightforward, clean, testable and reusable, what's not to like?

Anton Khritonenkov
Co-Founder, Plumsail

We use SPMeta2 in our projects to provision SharePoint artifacts. The functionality of the framework is impressing, and we are going to use it in future. The company provides quick and responsive support. They have growing community and continually tracking feedback. It is important for such kind of product.

Marat Bakirov
Senior SharePoint Consultant, Ignia

I started using SPMeta2 at its very first stage and always saw a high potential for provision SharePoint artifacts via code. SPMeta2 provides a repetitive and consistent way to set up a data schema for any SharePoint environment.