-.NET Core Console Apps for Headless CMS

You can use the following procedures in Microsoft Visual Studio Community 2019 (https://visualstudio.microsoft.com/vs/community/) to create .NET Core Console Apps with the SDKs for the Contentful, Contentstack, and Kentico Kontent headless Content Management Systems (CMS).

Update 14.Dec.2025: After years of frustration with WordPress, I am finally abandoning this blog. The content will likely stay here for some time, but new content will appear here:

To create a console app in Visual Studio:

  1. Click the File menu, then click New, and then click Project. The Create a new project dialog appears.
  2. In the Create a new project dialog, select the Console App (.NET Core) template, and then click Next.
  3. Give the project an appropriate name, and then click Create.
  4. Click the Tools menu, then click NuGet Package Manager, and then click Manage NuGet Packages for Solution. The NuGet – Solution dialog appears.
  5. In the NuGet – Solution dialog, click Browse.
  6. Search for and install the Newtonsoft.Json Nuget package.

For Contentful, install the contentful.csharp NuGet package (https://www.nuget.org/packages/contentful.csharp).

For Contentstack, install the contentstack.csharp NuGet package (https://www.nuget.org/packages/contentstack.csharp).

For Kentico Kontent, install the kentico.kontent.delivery (https://www.nuget.org/packages/Kentico.Kontent.Delivery) and Kentico.Kontent.Delivery.Abstractions (https://www.nuget.org/packages/Kentico.Kontent.Delivery.Abstractions) NuGet packages.

Leave a comment