Want to be notified of new releases in contentful/contentful.net?
.NET SDK for the Contentful Content Delivery API, Content Preview API and the Contentful Management API. It helps you to easily access your Content stored in Contentful with your .NET applications.
The ContentfulClient handles all communication with the Contentful Content Delivery API.
If you are running asp.net core and wish to take advantage of the options pattern you can do so by passing an IOptions<ContentfulOptions> to the constructor. This lets you keep your authorization token in your application settings, in environment variables or your own custom Microsoft.Extensions.Configuration.IConfigurationSource provider.
Console.WriteLine(entry.Description); // => A fantastic product.
The properties of your class will be automatically deserialized from fields with matching names.
If you're interested in the system properties of the entry, add a SystemProperties property to the class.
To edit, update and delete content you use the ContentfulManagementClient class which uses the same familiar pattern as the regular client.
You can then use the client to, for example, create a content type.
This SDK can also be used with the Preview API. Make sure you have a preview API key configured and set UsePreviewAPI on your client.
File an issue here on GitHub: . Make sure to remove any credentials from your code before sharing it.