XperienceCommunity.Sentinel.Core 0.4.5-alpha

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

XperienceCommunity.Sentinel.Core

Reusable check library powering Sentinel for Xperience by Kentico. Embeddable in any .NET host — CLI, admin module, ASP.NET Core background worker, GitHub Action.

This is the framework-agnostic core of Sentinel for Xperience by Kentico — the health scanner for Xperience by Kentico projects. It ships the primitives everyone else builds on:

  • ICheck — a single health check (config smell, outdated NuGet, orphan content item, etc.)
  • ScanContext — the state a check reads / writes during a run
  • CheckRegistry — the default suite of static and runtime checks
  • ScanRunner — orchestrates a full scan and emits a sanitized report
  • Reporting — HTML + JSON report writers, stable schema
  • Quoting — sanitized payload builder for the sentinel quote flow

Use this package directly when you want to run Sentinel's checks inside your own host — for example, a custom dashboard, a webhook, or a bespoke CI script. For the turn-key experiences, reach for the integration packages instead:

  • XperienceCommunity.Sentinel.Module — headless XbyK integration (scheduled task, event log mirror, email digest)
  • XperienceCommunity.Sentinel.Admin — admin UI module
  • XperienceCommunity.Sentinelsentinel dotnet global tool for CI / local use

Install

<PackageReference Include="XperienceCommunity.Sentinel.Core" Version="0.4.5-alpha" />

Minimal usage

using XperienceCommunity.Sentinel.Core;

var registry = new CheckRegistry();
var runner = new ScanRunner(registry);

var context = new ScanContext
{
    ProjectPath = @"C:\src\MyXperienceSite",
    // Optional — enables runtime checks (unused content types, stale content, etc.)
    ConnectionString = "Server=.;Database=XbyK;Integrated Security=true"
};

var result = await runner.RunAsync(context);

foreach (var finding in result.Findings)
{
    Console.WriteLine($"{finding.Severity} {finding.RuleId} {finding.Message}");
}

What it checks

The same suite the CLI and embedded integration run — static config / dependency / content-model checks out of the box, plus runtime checks (unused types, orphans, stale content, broken assets) when a connection string is supplied. See the main repo README for the full list and configuration reference.

Supported versions

Targets .NET 9. Check coverage targets Xperience by Kentico 29+ for static checks and XbyK 31.x for runtime checks. KX13 is not supported.

License

MIT © Refined Element

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on XperienceCommunity.Sentinel.Core:

Package Downloads
XperienceCommunity.Sentinel.Module

XbyK runtime module for Sentinel for Xperience by Kentico. Installs into your XbyK 31.x site and runs the Sentinel check suite on a configurable schedule. Writes findings to CMS_EventLog, persists scan history in custom Kentico-managed tables, sends HTML email digests via the built-in email service, and exposes a "Contact Refined Element" channel for fixed-price remediation quotes. Complements the CLI (XperienceCommunity.Sentinel) for devs who want on-demand scans. Community project — not affiliated with or maintained by Kentico.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.5-alpha 73 5/12/2026