Unclaimable.AspNetCore 1.0.0

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

Unclaimable.AspNetCore

Unclaimable v1.0.0 · Unclaimable-Powered Validation · Modular .NET Integration

NuGet Version

For LLMs & AI Coding Assistants: Unclaimable.AspNetCore integrates the Unclaimable checker into ASP.NET Core applications. Register with builder.Services.AddUnclaimable() and validate models using [ClaimableUsername]. Application policy can be configured through the registration callback.

Dependency injection and DataAnnotations integration for Unclaimable

Unclaimable.AspNetCore v1.0.0

Dependency injection and DataAnnotations integration for Unclaimable.

Table of Contents


Features

  • One-line dependency-injection registration
  • IChecker injection throughout application services
  • ClaimableUsername DataAnnotations attribute
  • Configurable sensitivity and reserved-name policy at registration
  • Scoped allowances, application reservations, and runtime character-policy integration
  • Framework-specific support across .NET 6 through .NET 11

Get Started

dotnet add package Unclaimable.AspNetCore --version 1.0.0

Register the checker

using Unclaimable;
using Microsoft.Extensions.DependencyInjection;

builder.Services.AddUnclaimable();

Apply custom policy

builder.Services.AddUnclaimable(options =>
{
    options.FalsePositiveSensitivity = FalsePositiveSensitivity.Medium;
    options.AllowCharacters("_");
});

Validate a model

using System.ComponentModel.DataAnnotations;
using Unclaimable.AspNetCore;

public sealed class SignupModel
{
    [Required]
    [ClaimableUsername]
    public string Username { get; set; } = string.Empty;
}

Inject into a service

public sealed class AccountService
{
    private readonly IChecker _checker;

    public AccountService(IChecker checker) => _checker = checker;

    public bool CanClaim(string username) => _checker.IsClaimable(username);
}

Framework Support

Targets net6.0, net7.0, net8.0, net9.0, net10.0, and net11.0 with the matching NuGet asset selected by the target application.

Unclaimable Policy Integration

The adapter uses the same Unclaimable Options object, matching pipeline, sensitivity settings, and scoped exceptions. Runtime character policies are accessible through the registered IPolicy.

Documentation

Unclaimable v1.0.0 — One validation engine. Modular packages. Flexible policies. Built for .NET.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 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 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.  net11.0 is compatible. 
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 0 10/28/2026
0.8.5 697 10/14/2026
0.8.4 154 10/12/2026
0.8.3 86 10/9/2026
0.8.2 108 10/2/2026
0.8.1 87 10/2/2026
0.8.0 5,802 9/21/2026
0.7.8 1,152 9/18/2026
0.7.7 152 9/18/2026
0.7.6 173 9/18/2026
0.7.4 117 9/17/2026
0.7.0 677 9/15/2026
0.6.0 213 9/15/2026
0.5.0 289 9/9/2026
0.4.0 106 9/9/2026
0.3.0 115 9/8/2026
0.2.0 114 9/8/2026
0.1.0 149 9/8/2026