Kjac.NoCode.HeadlessMode 1.0.0

dotnet add package Kjac.NoCode.HeadlessMode --version 1.0.0
NuGet\Install-Package Kjac.NoCode.HeadlessMode -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kjac.NoCode.HeadlessMode" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kjac.NoCode.HeadlessMode --version 1.0.0
#r "nuget: Kjac.NoCode.HeadlessMode, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Kjac.NoCode.HeadlessMode as a Cake Addin
#addin nuget:?package=Kjac.NoCode.HeadlessMode&version=1.0.0

// Install Kjac.NoCode.HeadlessMode as a Cake Tool
#tool nuget:?package=Kjac.NoCode.HeadlessMode&version=1.0.0

No-Code Headless Mode

The No-Code Headless Mode package removes unused editor features from Umbraco CMS when its used purely as a headless CMS.

[!TIP] If you are extending Umbraco with custom .NET code, this package might not be for you 😄

Installing the package

[!IMPORTANT] First and foremost, make sure the Delivery API is enabled. See the Umbraco Delivery API docs for details.

The package is installed from NuGet:

dotnet add package Kjac.NoCode.HeadlessMode

The package requires no additional configuration once installed.

An opinionated package?

This is without doubt an opinionated package. What is an "unused feature", after all?

So what exactly does it to?

The package focuses on removing or altering editor UI features that are either not applicable or misleading in a headless setup.

In the content editor

  • Default links to published content are removed (custom outbound links will be retained).
  • The template selector is removed.
  • The "Culture and Hostnames" option is removed from the content tree menu.
  • Editor warnings for missing domain mappings in a multi-lingual setup are disabled.
  • The "Save and Preview" button is removed, unless custom preview URLs are configured for external hosts.
  • Redirect URLs are transformed to be "information only" (no outbound links).

Removing the "Culture and Hostnames" option might be controversial. However, the Delivery API provides alternative means for handling context and localization - see Delivery API concepts for more info.

In the Settings section

  • Everything related to Razor rendering/templating is removed.
  • The "Models Builder" and "Profiling" dashboards are removed (read more about these dashboards here).

Other things

  • The "Translation" section is removed, because the Delivery API does not support translations.

No-Code Delivery API

This package works really well with the No-Code Delivery API package 😄

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 299 1/14/2024