.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).

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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: