Intuitive admin interface
So easy to use. So easy to customize. You’re going to love the content you build better with ButterCMS.
Handy integration with ASP.NET
Our ASP.NET CMS has a simple content API and drop-in ASP.NET SDK that makes the magic happen in minutes, not hours.
A truly zero-maintenance solution
With ButterCMS, you’ll never worry about security upgrades, hosting, or performance again.
Powerful CMS for ASP.NET. Zero headache.
Drop our API-based CMS into your ASP.NET app in minutes.
ButterCMS provides a component-based CMS and content API for ASP.NET and ASP.NET apps. Use ButterCMS to enable dynamic content in your apps for page content, blogs, and anything else. Most customers get our ASP.NET CMS set up in one hour or less.
That leaves plenty of time for you and your marketing team to do what you do best: create killer apps with killer content.
See how Butter’s API enables you to compose flexible page layouts and easily reorder components, without a developer.
“Best CMS on the market”
After shopping the market, it was clear that ButterCMS was the perfect choice. It allows our developers to build powerful components and makes it easy for our marketing team to drive a better customer experience. Hampton Catlin Creator of Sass and Haml
Deploy our .NET Starter in 30 Seconds!
Or follow the below commands to clone a copy of the repo from github, install dependencies, set your free Butter token, and run your local server on localhost:5000/.
$ git clone https://github.com/ButterCMS/dotnet-starter-buttercms.git
$ cd dotnet-starter-buttercms
$ dotnet restore
$ dotnet user-secrets set "ButterCMSAPIKey" "" --project ButterCMS.Starter
$ dotnet run --project ButterCMS.Starter
Built to make content marketing easy
ButterCMS is the best headless cms for ASP.NET for a simple reason: ASP.NET developers can build solutions that marketing people love. Our API allows your content gurus to quickly spin up high-converting, dynamic landing pages, SEO pages, product marketing pages, and more, all using simple drag-and-drop functionality.
The simplest ASP.NET CMS you'll find
Our simple setup saves you time and money. Take us for a spin to see for yourself!
It's the epitome of plug-and-play simplicity for content creators. It does exactly what I need it to. LUKE GARDNER, CONTENT SPECIALIST, PRINTAVO
Fast integration with any ASP.NET app
Our mission was to make it easy to integrate Butter with your existing ASP.NET app in minutes. It’s so simple! To demonstrate, here’s a mini tutorial to give you a feel for the process of adding marketing pages to your ASP.NET or ASP.NET app.
Of course, you can also use our Collections to do advanced content modeling. For a full integration guide, check out our Official Guide for the ButterCMS ASP.NET API client.
See how easily you can integrate the ButterCMS Pages API with your ASP.NET app.
Seamless ASP.NET components
Empower your marketing team with dynamic landing pages that align perfectly with your ASP.NET components.
Components are the essential building blocks of any ASP.NET app, and ButterCMS handles them with ease.
Our drag and drop interface makes it simple to structure your content to match existing ASP.NET components and to create new reusable components whenever you need them.
One ASP.NET CMS with everything you need
There’s a reason so many developers are choosing a headless ASP.NET CMS. It’s easy to set up, offers flexible, customizable content modeling, and gives you access to our full ASP.NET API.
ButterCMS saves you development time
Most customers get our ASP.NET CMS up and running in less than an hour. Try it yourself!
Simple as can be, with powerful features and great customer support. DILLON BURNS, FRONT END DEVELOPER, KEYME
How to integrate ButterCMS into your ASP.NET application
Just follow the simple steps below to complete the integration and begin creating pages with Butter. Be sure to check out our full guide to creating pages using the ButterCMS ASP.NET API.
First you would set up a new Customer Case Study page type in Butter and create a page. With your page defined, the ButterCMS API will return it in JSON format like this:
{
"data": {
"slug": "acme-co",
"fields": {
"facebook_open_graph_title": "Acme Co loves ButterCMS",
"seo_title": "Acme Co Customer Case Study",
"headline": "Acme Co saved 200% on Anvil costs with ButterCMS",
"testimonial": "<p>We've been able to make anvils faster than ever before! - <em>Chief Anvil Maker</em></p>\r\n<p><img src=\"https://cdn.buttercms.com/NiA3IIP3Ssurz5eNJ15a\" alt=\"\" caption=\"false\" width=\"249\" height=\"249\" /></p>",
"customer_logo": "https://cdn.buttercms.com/c8oSTGcwQDC5I58km5WV",
}
}
}
Display results in Views/CaseStudy.cshtml
:
<html>
<head>
<title>@ViewBag.SeoTitle</title>
<meta property="og:title" content="@ViewBag.FacebookTitle" />
</head>
<body>
<h1>@ViewBag.Headline</h1>
<img width="100%" src="@ViewBag.CustomerLogo">
<p>@ViewBag.Testimonial</p>
</body>
</html> return render(request, 'case_study.html', {'case_study': case_study.data.fields })
To create these pages in our app, we create a route that fetches content for the page by using a URL slug parameter. This is how the Controllers/CaseStudyController.cs
file might look:
using System.Threading.Tasks;
using System.Web.Mvc;
using ButterCMS;
using Newtonsoft.Json;
namespace ButterCmsExample.Controllers
{
public class CaseStudyController : Controller
{
private ButterCMSClient Client;
private static string _apiToken = "";
public CaseStudyController()
{
Client = new ButterCMSClient(_apiToken);
}
[Route("customers/{slug}")]
public async Task<ActionResult> ShowCaseStudy(string slug)
{
var json = await Client.ListPageAsync("customer_case_study", slug)
dynamic page = ((dynamic)JsonConvert.DeserializeObject(json)).data.fields;
ViewBag.SeoTitle = page.seo_title;
ViewBag.FacebookTitle = page.facebook_open_graph_title;
ViewBag.Headline = page.headline;
ViewBag.CustomerLogo = page.customer_logo;
ViewBag.Testimonial = page.testimonial;
return View("Location");
}
}
}
That's it! If you browse to your homepage you'll see your homepage populated with the content you created in Butter.
Get Started for FreeThe Perks of Going Headless with ASP.NET
Going headless with ASP.NET offers numerous benefits. ASP.NET complements headless architectures through its API support, scalability, cross-platform development, security features, microservices support, and more, allowing you to create secure, scalable, and highly performant headless applications.
Here are some reasons why you should go headless with ASP.NET:
Architectural flexibility and scalability
Using ASP.NET with a headless architecture improves flexibility and scalability. It allows you to develop front-end and back-end components separately, choosing the best technology for each. This separation simplifies updates and management since changes to one side don’t affect the other. ASP.NET’s ability to handle high traffic pairs well with the headless architecture’s load distribution and microservices scaling, making it a solid foundation for fast, scalable web applications.
ASP.NET MVC framework for structured web applications
ASP.NET's MVC framework in a headless setup helps you organize your application by separating data management, user interfaces, and logic. This structure simplifies development and maintenance, allowing for reusable components. With its convention-over-configuration approach, you speed up development and reduce code complexity. ASP.NET MVC’s clear organization makes it ideal for headless applications.
Advanced C# language features for headless applications
C#, the backbone of ASP.NET, provides several advanced features perfect for headless applications. Its type system, including value, reference, and nullable reference types, helps catch null references early and reduce runtime errors. Pattern matching simplifies handling complex data structures, while record types and async/await keywords improve state management and handle concurrent requests, making your headless applications more reliable and responsive.
ASP.NET's built-in security features for secure data handling
ASP.NET's built-in security features make it easier for you to handle data securely in a headless architecture. With tools like authentication, encryption, and anti-forgery measures, you can protect your application from common threats such as SQL injection, XSS, and CSRF. These features ensure that data between your front-end and back-end remains secure, helping you build applications that safeguard sensitive information and maintain user trust.
Why ButterCMS is the perfect fit for ASP.NET
As an ASP.NET developer looking for the best headless CMS, ButterCMS is your go-to solution for a .NET headless CMS for several reasons, including:
Easy integration with ASP.NET
ButterCMS’s RESTful API and SDKs are designed to work smoothly with ASP.NET, simplifying the development process. You can easily add content from ButterCMS to your ASP.NET applications, enriching content-driven features and improving your overall development workflow.
Combining ASP.NET's structure with ButterCMS’s flexibility
ButterCMS’s component-based system fits well with ASP.NET’s modular design, promoting clean and maintainable code. This combination allows you to build scalable, high-performance applications that adapt to changing business needs.
Real-time content updates for dynamic experiences
With ButterCMS’s real-time content updates and ASP.NET’s event handling, you can deliver instant changes to users. This is especially useful for applications like news sites or social media platforms where keeping information current is crucial.
Future-ready with ASP.NET and ButterCMS
As ASP.NET embraces new trends like serverless computing and the Jamstack, ButterCMS stays ahead with its API-focused approach. This makes it a valuable tool for developers aiming to create fast, scalable, and dynamic web applications for the future.