Axlis.Core 0.1.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Axlis.Core --version 0.1.0
                    
NuGet\Install-Package Axlis.Core -Version 0.1.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.Core" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Axlis.Core" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Axlis.Core" />
                    
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.Core --version 0.1.0
                    
#r "nuget: Axlis.Core, 0.1.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.Core@0.1.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.Core&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Axlis.Core&version=0.1.0
                    
Install as a Cake Tool

Axlis.Core

Domain model and ORM core for the Axlis Sitecore Headless GraphQL ORM. Targets net8.0.

Install

dotnet add package Axlis.Core

What's included

Domain model

  • Item — de-branded Sitecore item with Id, Name, Path, Version, Language, Fields, Template, Parent, Children
  • ItemTemplate / ItemTemplateField — template and field metadata

Field types

  • TextField — single-line, multi-line, rich text (RawValue)
  • ImageFieldSrc, Alt, Width, Height
  • MultilistFieldItems (IEnumerable<IItem>), ItemIds
  • ItemReferenceFieldItem (IItem?), ItemId
  • HyperlinkFieldUrl, Text, Target, LinkType
  • BooleanFieldIsChecked
  • FileFieldSrc, Name

ORM base classes

  • ExtendedItem — base class for all strongly-typed template POCOs; exposes Axes, GetCacheKeyValue(), and GetField<TField>(). Initialized with IItemLazyLoader via ExtendedItem.Initialize().
  • BaseItem — lightweight base wrapping a raw Item; for non-Axes use cases.
  • AxesAdapter — Synthesis-style Parent, Children, Siblings, GetChildren(predicate), GetDescendants(predicate)

Conversion

  • ItemConverter — maps GraphQLItemData JSON responses to Item graphs, including nested parents and children

Built-in templates

  • DictionaryEntry, DictionaryFolder/sitecore/templates/System/Dictionary/*
  • Folder/sitecore/templates/Common/Folder

Defining a template

[SitecoreTemplate("{6D1CD897-1936-4A3A-A511-289A94C2A7B1}")]
public class ArticlePage : ExtendedItem
{
    [SitecoreField("Title")]
    public TextField Title => GetField<TextField>("Title");

    [SitecoreField("Hero Image")]
    public ImageField HeroImage => GetField<ImageField>("Hero Image");
}

See the Templates Guide and the Axlis repository for full documentation.

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