Nikcio.UHeadless 10.0.0

dotnet add package Nikcio.UHeadless --version 10.0.0
                    
NuGet\Install-Package Nikcio.UHeadless -Version 10.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="Nikcio.UHeadless" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nikcio.UHeadless" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Nikcio.UHeadless" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nikcio.UHeadless --version 10.0.0
                    
#r "nuget: Nikcio.UHeadless, 10.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.
#:package Nikcio.UHeadless@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nikcio.UHeadless&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Nikcio.UHeadless&version=10.0.0
                    
Install as a Cake Tool

Nikcio.UHeadless

Quality Gate Status Build UHeadless Nuget Downloads Nuget Version Nuget (with prereleases)

Welcome to Nikcio.UHeadless, a powerful package that enables you to create a headless GraphQL interface for your Umbraco CMS. This package provides an easy to setup solution for exposing your data and offers a wide range of extensibility options to tailor the headless functionality to your specific needs.

Compatibility

The Nikcio.UHeadless package is compatible with the following Umbraco versions:

Umbraco version Supported Version
Umbraco 10 v3.x.x
Umbraco 12 v4.x.x
Umbraco 13 v4.2.x+ & v5.x.x
Umbraco 14 v6.x.x
Umbraco 15 v7.x.x & v8.x.x
Umbraco 16 v9.x.x
Umbraco 17 v10.x.x

For more information, please refer to the Versioning section.

Setup

Installation

To install the Nikcio.UHeadless package, run the following command:

dotnet add Nikcio.UHeadless

You can also find the package on NuGet.

Integration

To integrate the package into your project, follow these steps:

  1. Open your Program.cs file.

  2. Add the following using statements:

    using Nikcio.UHeadless;
    using Nikcio.UHeadless.Defaults.ContentItems;
    
  3. On the UmbracoBuilder, add the following code:

    builder.CreateUmbracoBuilder()
        // Default Umbraco configuration
        .AddUHeadless(options =>
        {
            options.DisableAuthorization = true; // Change this later when adding authentication - See documentation
    
            options.AddDefaults();
    
            options.AddQuery<ContentByRouteQuery>();
            options.AddQuery<ContentByGuidQuery>();
        })
        .Build();
    
  4. Then after the app.BootUmbracoAsync() method, add the following code:

    await app.BootUmbracoAsync();
    
    app.UseAuthentication();
    app.UseAuthorization();
    
    GraphQLEndpointConventionBuilder graphQLEndpointBuilder = app.MapUHeadless();
    
    // Only enable the GraphQL IDE in development
    if (!builder.Environment.IsDevelopment())
    {
        graphQLEndpointBuilder.WithOptions(new GraphQLServerOptions()
        {
            Tool =
            {
                Enable = false,
            }
        });
    }
    
    app.UseUmbraco()
        // Default Umbraco configuration
    

With these configurations in place, your content will be available at /graphql.

To get started, try querying your content using their GUIDs or routes. For example with the query below:

Tip: GUIDs can be found in the info tab when viewing content in the backoffice

query {
  contentByGuid(id: "dcf18a51-6919-4cf8-89d1-36b94ce4d963") {
    id
    key
    name
    statusCode
    templateId
    updateDate
    url(urlMode: ABSOLUTE)
    urlSegment
  }
}

Documentation

For detailed documentation and usage instructions, please refer to the Nikcio.UHeadless Documentation.

Versioning

Nikcio.UHeadless follows the principles of Semantic Versioning to ensure consistency. The version numbers have the following meaning:

vX.Y.Z
  • X (Major): Indicates a breaking change.
  • Y (Minor): Signifies a feature change.
  • Z (Patch): Represents bug fixes.

Full version table

Umbraco version Supported Versions Development
Umbraco 9 v1.x.x & v2.x.x No development
Umbraco 10 v2.x.x & v3.x.x No development
Umbraco 11 v3.x.x & v4.x.x No development
Umbraco 12 v4.x.x No development
Umbraco 13 v4.2.x+ & v5.x.x Only reported issues for v5.x.x
Umbraco 14 v6.x.x No development
Umbraco 15 v7.x.x & v8.x.x No development
Umbraco 16 v9.x.x No development
Umbraco 17 v10.x.x Active branch

Contributing

We welcome contributions to Nikcio.UHeadless. Please refer to the Contributing Guide for more information on how to get involved.


Sponsor Nikcio.UHeadless Development

If you find Nikcio.UHeadless valuable and would like to support its ongoing development, consider sponsoring the project through GitHub Sponsors. Your sponsorship helps ensure the continued improvement and maintenance of this package. Thank you for your support!

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

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nikcio.UHeadless:

Package Downloads
Nikcio.UHeadless.Defaults

Default models for the Nikcio.UHeadless package

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0 252 12/19/2025
9.0.1 340 10/4/2025
9.0.0 155 10/4/2025
8.1.0 363 9/12/2025
8.0.0 1,159 3/22/2025
8.0.0-preview001 162 2/12/2025
7.1.0 800 2/14/2025
7.0.1 323 12/30/2024
6.0.0 289 11/20/2024
6.0.0-preview001 167 8/29/2024
5.1.0 706 11/20/2024
5.0.0 1,151 6/26/2024
5.0.0-preview005 165 6/9/2024
5.0.0-preview004 197 5/6/2024
5.0.0-preview003 197 4/12/2024
4.2.2 539 8/29/2024
4.2.1 2,950 4/9/2024
4.2.0 245 4/6/2024
4.2.0-preview002 174 3/7/2024
4.1.1 5,792 8/2/2023
4.1.0 625 7/2/2023
4.0.0 4,240 6/12/2023
4.0.0-preview002 256 6/7/2023
4.0.0-preview001 228 6/6/2023
3.3.1 1,226 6/2/2023
3.3.0 5,159 1/18/2023
3.2.0 7,091 11/22/2022
3.1.0 518 11/16/2022
3.0.6 646 11/3/2022
3.0.5 659 10/18/2022
3.0.4 886 10/5/2022
3.0.3 572 10/5/2022
3.0.2 625 9/19/2022
3.0.1 608 9/3/2022
3.0.0 975 8/3/2022
3.0.0-preview003 318 8/3/2022
3.0.0-preview002 334 7/16/2022
3.0.0-preview001 307 7/16/2022
2.3.1 376 6/2/2023
2.3.0 815 7/6/2022
2.2.1 722 6/19/2022
2.2.0 957 6/6/2022
2.1.1 686 5/22/2022
2.1.0 730 5/10/2022
2.0.2 665 5/9/2022
2.0.1 661 5/4/2022
2.0.0 717 5/1/2022
2.0.0-preview.3 241 4/26/2022
2.0.0-preview.2 251 4/26/2022
2.0.0-preview.1 272 4/24/2022
2.0.0-preview.0 251 4/14/2022
1.3.0 839 3/5/2022
1.2.0 740 3/1/2022
1.1.0 726 2/26/2022
1.0.0 786 2/6/2022
0.1.7-beta 321 2/5/2022
0.1.6-beta 327 2/5/2022
0.1.5-beta 325 2/4/2022
0.1.4-beta 331 1/27/2022
0.1.3-beta 339 1/27/2022
0.1.2-alpha 336 1/25/2022