Headless CMS ASP.NET Razor Pages Partial View Component Architecture

This blog post provides an example of using a modular field in the Contentstack SaaS headless CMS to let the CMS user select an ASP.NET Core Razor Pages partial view to render each block. This blog post depends on information and code provided in the following previous blog posts. .NET Core Headless CMS Entry ModelsContinue reading “Headless CMS ASP.NET Razor Pages Partial View Component Architecture”

Use .NET Attributes to Specify Entry Model Classes for CMS Content Types

This blog post explains how you can use .NET attributes to indicate entry model class(es) to represent entries based on different content types in the Contentstack SaaS headless CMS, although this technique should work with any headless CMS. .NET Core Headless CMS Entry Models and Entry Model Classes – Deliverystack.net When you need to retrieveContinue reading “Use .NET Attributes to Specify Entry Model Classes for CMS Content Types”

Block Models and JsonConverters without the Contentstack .NET SDK

This blog post explains how you can use block models with a generic base class to model Contentstack modular fields and to simplify JsonConverters serialization configuration without using the Contentstack SDK. This blog post depends on a refactored version of the base class for block models described in the following blog post. Basically, for eachContinue reading “Block Models and JsonConverters without the Contentstack .NET SDK”

Specify ASP.NET Razor Core Pages Layouts and Partial Views with Headless CMS

This blog post describes a solution that lets the CMS user select a layout to override the default layout and a partial view to render an entry from Contentstack. This solution extends an existing solution for using ASP.NET Razor Pages with the Contentstack SaaS headless CMS. Expose Headless CMS Entry JSON in Entry Models, ASP.NETContinue reading “Specify ASP.NET Razor Core Pages Layouts and Partial Views with Headless CMS”

Expose Headless CMS Entry JSON in Entry Models, ASP.NET Core Razor Pages Edition

This blog post is basically a reminder that you may want to store the raw JSON of entries even if you use entry models. The JSON can have advantages in during development by allowing programmers to access data in new content types and fields before creating corresponding entry model classes and properties but can alsoContinue reading “Expose Headless CMS Entry JSON in Entry Models, ASP.NET Core Razor Pages Edition”

ASP.NET Core Razor Pages and SaaS Headless Content Management Systems

This blog post attempts to present information about using ASP.NET Core Razor Pages with SaaS headless content management systems using Contentstack as an example. The information in this post is intentionally limited and oversimplified. ASP.NET Core Razor Pages are based on ASP.NET MVC (model-view-controller), but with a simplified implementation based on common patterns. Both ASP.NETContinue reading “ASP.NET Core Razor Pages and SaaS Headless Content Management Systems”

.NET Headless Content Management Considerations

I intend to use this blog post to track technical concerns to consider before implementing a .NET solution that leverages a headless content management system. Some of these considerations apply to content delivery solutions on any platform and some may apply to service-oriented solutions beyond content management. Linked posts tend to focus on .NET andContinue reading “.NET Headless Content Management Considerations”

Write Information about JavaScript Objects to the Browser Console

The approach described in this blog post writes information about JavaScript objects (including their properties, methods, and values) to the console, recursing through objects exposed as properties, making it easier to see what is available without referring to the documentation, and writing identifiers to the console that a developer can easily copy and paste intoContinue reading “Write Information about JavaScript Objects to the Browser Console”

Contentstack Developer Custom Widget

I renamed the custom Contentstack widget that I had previously developed to render the JSON of an entry to include links to Developer and added links to edit the content type and preview the page. I did not have to change any HTML or JavaScript to get this to work in the new (2021) ContentstackContinue reading “Contentstack Developer Custom Widget”

Whether to Use Vendor SDKs to Access Vendor Services

This blog post presents perspectives on whether to use vendor SDKs or access their HTTP/JSON service endpoints directly, specifically in the context of the Contentstack SaaS headless content management system but with considerations relevant to any headless CMS or service-oriented application. If you have perspectives on whether and when to use the vendor’s SDK toContinue reading “Whether to Use Vendor SDKs to Access Vendor Services”