Contentful.Net

Contentful is a content management platform for web applications, mobile apps and connected devices. It allows you to create, edit & manage content in the cloud and publish it anywhere via a powerful API. Contentful offers tools for managing editorial teams and enabling cooperation between organizations.

Quick Start

  1. Install using NuGet package manager console: Install-Package contentful.csharp -prerelease.
  2. Create a ContentfulClient and provide it with your HttpClient and your authorization token.

    var httpClient = new HttpClient();
    var client = new ContentfulClient(httpClient, "0b7f6x59a0" /*Authorization token*/, "developer_bookshelf" /*Space ID*/);
    
  3. Query some content.

    var book = await client.GetEntryAsync<Book>("5PeGS2SoZGSa4GuiQsigQu");
    
  4. Bask in the glory of your content.

    Console.WriteLine(book.Name); // => How to manage content in a developer-friendly manner
    Console.WriteLine(book.Author); // => Contentful
    

Read more in our getting started guide or read the full API documentation.

Back to top Copyright © 2015-2016 Contentful
Generated by DocFX