Installation
- NuGet Package Manager
- .NET CLI
- Project File
Initialization
Initialize the SDK with your Read API token from the ButterCMS Settings.Configuration options
API methods
All methods are available in both synchronous and asynchronous versions. The async versions are recommended for better performance.Pages
Retrieve and search pages created in the ButterCMS dashboard. Define a strongly-typed model for your page fields:The .NET SDK does not expose a page-search method (unlike
SearchPostsAsync for blog posts).Collections
Fetch content from Collections (structured data tables). Define a model for your collection:Blog Posts
Access the built-in Blog Engine for posts, categories, tags, and authors.Authors
Categories
Tags
Feeds
Retrieve RSS, Atom, and Sitemap feeds as XML documents.Query parameters reference
Synchronous vs asynchronous
All methods have both sync and async versions:Recommendation: Always use async methods in web applications for better scalability.
Complete example
Resources
GitHub Repository
View source code, report issues, and contribute
NuGet Package
Package details and version history