-Workaround for Circular Dependencies in .NET and ASP.NET Core

This blog post explains an approach to resolving circular service dependencies in .NET and ASP.NET Core. In this context, services are .NET types that the dependency framework injects into the application, not HTTPS services for exchanging JSON. Update 15.Dec.2025: After years of frustration with WordPress, I am finally abandoning this blog. The content will likelyContinue reading “-Workaround for Circular Dependencies in .NET and ASP.NET Core”

-Evaluating [SaaS] [Headless] [CMS] Data Modeling Capabilities

This blog post contains information about evaluating data modeling capabilities in SaaS headless content management systems, specifically features available in content types that define different types of structures for data storage. Data modeling is one of the critical features of and differentiating factors between headless content management systems. If you have additional perspectives about modelingContinue reading “-Evaluating [SaaS] [Headless] [CMS] Data Modeling Capabilities”

-SaaS Headless CMS ASP.NET Core Razor Pages Data-Driven Breadcrumb View Component

This blog post describes a prototype ASP.NET Core razor pages view component that renders a breadcrumb based on the information architecture of the website as determined by its URL hierarchy. This post is a continuation of a series progressing an ASP.NET razor pages solution architecture using the Contentstack SaaS headless CMS. Update 15.Dec.2025: After yearsContinue reading “-SaaS Headless CMS ASP.NET Core Razor Pages Data-Driven Breadcrumb View Component”

-ASP.NET Razor Pages Legacy/Vanity URL Redirect Prototype for SaaS Headless CMS

This blog post explains a prototype for a solution that ASP.NET Core razor pages with the Contentstack SaaS headless content management system to manage redirects from legacy and alternate to current URLs with the Contentstack SaaS headless content management system. This post is about the architectural approach rather than the code shown. Update 15.Dec.2025: AfterContinue reading “-ASP.NET Razor Pages Legacy/Vanity URL Redirect Prototype for SaaS Headless CMS”

-SaaS Headless CMS ASP.NET Core Razor Pages Data-Driven Top Navigation View Component

This blog post describes a prototype ASP.NET Core razor pages view component that renders a top navigation based on the information architecture of the website as determined by its URL hierarchy. This post is a continuation of a series progressing an ASP.NET razor pages solution architecture using the Contentstack SaaS headless CMS. Update 15.Dec.2025: AfterContinue reading “-SaaS Headless CMS ASP.NET Core Razor Pages Data-Driven Top Navigation View Component”

-Use JsonConverters to Mimic Dependency Injection During Deserialization

This blog post presents an approach that abstracts access to the entries specified in reference fields in the Contentstack SaaS headless CMS, demonstrating a technique that provides functionality similar to dependency injection during deserialization from JSON with .NET and System.Text.Json. Update 15.Dec.2025: After years of frustration with WordPress, I am finally abandoning this blog. TheContinue reading “-Use JsonConverters to Mimic Dependency Injection During Deserialization”

-Contentstack .NET Group Model for Page Metadata Fields

This blog post explains how I modeled a group of fields that appear in all content types that represent pages in the Contentstack SaaS headless content management system for a solution that uses ASP.NET razor pages. Specifically, this group contains metadata fields used for navigation, sitemap.xml and robots.txt, search results, to control the layout viewContinue reading “-Contentstack .NET Group Model for Page Metadata Fields”

-Cannot get the value of a token type ‘StartObject’/converter ‘…’ read too much or not enough

This blog post describes two exceptions that I experienced while converting Newtonsoft JsonConverters to System.Text.Json JsonConverters and the related solutions to both issues in the hopes that it may assist developers that may face the same issue(s). Update 15.Dec.2025: After years of frustration with WordPress, I am finally abandoning this blog. The content will likelyContinue reading “-Cannot get the value of a token type ‘StartObject’/converter ‘…’ read too much or not enough”

-Migrating C# from Newtonsoft.Json to System.Text.Json for .NET 5

This blog post contains my notes in migrating a small C# .NET codebase from Newtonsoft.Json to System.Text.Json (STJ). First, let me thank Newtonsoft, which has close to a billion dowloads, for making JSON processing possible before Microsoft and for shaping STJ. There are plenty of existing resources about this, but to help me remember, theseContinue reading “-Migrating C# from Newtonsoft.Json to System.Text.Json for .NET 5”

-Hosting ASP.NET Core Razor Pages and Web APIs in a Single Project

This blog post explains one way that you can host ASP.NET Core Web APIs and Razor Pages in a single project. Performance is best if the client has a fast network connection to the server. The fastest connection is probably from a host to itself. This is not the most scalable configuration for production (soContinue reading “-Hosting ASP.NET Core Razor Pages and Web APIs in a Single Project”