Axlis.ORM 0.3.0

dotnet add package Axlis.ORM --version 0.3.0
                    
NuGet\Install-Package Axlis.ORM -Version 0.3.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="Axlis.ORM" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Axlis.ORM" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Axlis.ORM" />
                    
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 Axlis.ORM --version 0.3.0
                    
#r "nuget: Axlis.ORM, 0.3.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 Axlis.ORM@0.3.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=Axlis.ORM&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Axlis.ORM&version=0.3.0
                    
Install as a Cake Tool

Axlis.ORM

Axlis Banner

The Sitecore Headless GraphQL ORM for .NET 8 — a strongly-typed, Synthesis-style item model built on raw HttpClient + System.Text.Json. No third-party GraphQL library required.

Part of the PowerCSharp ecosystem. Integrates with PowerCSharp.Feature.Cache for stampede-safe item caching.

Website: axlis.dev


Package Family

Package Description TFMs
Axlis.ORM Facade, cache manager, DI wiring (AddAxlisORM) net8.0
Axlis.ORM.GraphQL Default HttpClient+STJ transport, SitecoreService, query builder net8.0
Axlis.ORM.Core Domain model, field types, ExtendedItem, AxesAdapter, ItemConverter net8.0
Axlis.ORM.Abstractions Contracts, NoOps, AxlisResult<T>, codegen-hook attributes netstandard2.0 + net8.0

Install

dotnet add package Axlis.ORM
dotnet add package Axlis.ORM.GraphQL

Or à la carte — reference only what you need.


Quick Start

// Program.cs
// AddAxlisORM/AddAxlisORMGraphQL take an Action<TOptions> delegate — bind from
// IConfiguration explicitly, or set values inline.
builder.Services
    .AddAxlisORM(o => builder.Configuration.GetSection("Axlis").Bind(o))
    .AddAxlisORMGraphQL(o => builder.Configuration.GetSection("AxlisGraphQL").Bind(o));

var app = builder.Build();
app.Services.UseAxlis(); // wires the ambient lazy-loader for Axes traversal

// appsettings.json
{
  "Axlis": {
    "CacheTtl": "01:00:00",
    "EnableDiagnostics": true
  },
  "AxlisGraphQL": {
    "Endpoint": "https://your-sitecore-instance/sitecore/api/graph/edge",
    "ApiKey": "your-sc_apikey-here"
  }
}
// Your strongly-typed template
[SitecoreTemplate("{6D1CD897-1936-4A3A-A511-289A94C2A7B1}")]
public class DictionaryEntry : ExtendedItem
{
    [SitecoreField("Key")]
    public TextField Key => GetField<TextField>("Key");

    [SitecoreField("Phrase")]
    public TextField Phrase => GetField<TextField>("Phrase");
}

// Fetch an item
var item = await facade.GetItemByPathAsync<DictionaryEntry>("/sitecore/content/dictionary/my-key");
Console.WriteLine(item?.Phrase.RawValue);

// Axes traversal
var children  = item?.Axes.Children;
var parent    = item?.Axes.Parent;
var siblings  = item?.Axes.Siblings;

var pages = item?.Axes.GetChildren<MyPage>(i => i.InnerItem?.Template?.Id == MyPage.TemplateId);

// Rich result with metadata and diagnostics
var result = await facade.GetItemByPathWithResultAsync<DictionaryEntry>("/sitecore/content/dictionary/my-key");
Console.WriteLine(result.Metadata?.ItemPath);

What's Included

  • SitecoreFacade : ISitecoreFacade — clean + rich (WithResult) APIs for all four fetch methods
  • SitecoreItemCacheManager — stampede-safe ICacheService wrapper; dual-indexes by ID + path
  • SitecoreItemLazyLoader : IItemLazyLoader — lazy-fetch for ExtendedItem.Axes traversal
  • LoggerAxlisDiagnosticsSink — default IAxlisDiagnosticsSink routing events to ILogger
  • AddAxlisORM() / AddAxlisORMGraphQL() / UseAxlis() — DI registration helpers
  • AxlisOptionsCacheTtl, EnableDiagnostics

Documentation

Full Axlis.ORM documentation:


Sample App

See Axlis.CleanArchitecture.Sample — a full working consumer built on PowerCSharp.CleanArchitecture.

See the Axlis repository for ecosystem information.

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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

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
0.3.0 109 8/5/2026
0.1.0 120 7/11/2026