Crusaders.Framework 3.6.0

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

Crusaders Framework

.NET Standard 2.0 — shared base library, consumed by API and WPF as a NuGet package.

Core Principle

No secrets, no DB access, no client-specific logic. Only shareable base classes, interfaces, and utilities belong here. Client-specific logic goes in Crusaders.API.<Client> or Crusaders.WPF.<Client>.

What's in Here

  • ICommandHandler<TIn, TOut> — atomic command pattern interface
  • ICrdApiClient — Framework API client (.For<T>().Invoke() / .Call())
  • IOutgoingCommandHandler — for calling external (non-Crusaders) web services
  • CrusadersWebSocket — base WebSocket bridge class
  • CrusadersException — standard exception type
  • DataAccessBase<TContext> — base class for EF6 data access
  • [Uri], [HttpGet], [HttpPost] — route annotations for service interfaces
  • CrdUnitTest<IHandler> — base for unit tests (extend in client layer)

KyC — Identity & Verification (v3.6+)

Shared contracts for the alert and verify core service:

  • VerifyPasswordUpdateRequest / VerifyContactUpdateRequest — action token payloads consumed by MCP → Classic API verify endpoints
  • ErrorCodes.KyCTokenInvalid (222) — verification link invalid or already consumed
  • ErrorCodes.KyCUserNoVerifiedEmail (221) — no primary verified email on account
  • ErrorCodes.KyCUserNotResolved (220) — username/email lookup failed
  • ErrorCodes.KyCContactNotFound (201) / KyCContactOwnershipMismatch (202) — contact record errors

Action tokens are one-time use. Once consumed (verify success), DestroyedAt is set and subsequent calls return KyCTokenInvalid. Session tokens destroyed return UserMultipleDevice (110).

Build & Publish

  1. Bump CrusadersFramework_Version in Tools/Build/CrdDependency.props
  2. Run Tools/compile-publish.bat to generate NuGet package
  3. Run Tools/replace-local-nuget.bat for local testing
  4. Upload to NuGet org account for release
  5. Update NuGet reference in Crusaders.API and Crusaders.WPF, rebuild

CI pipeline not yet set up — run publish script locally on merged branch.

AI Agent Reference

Agent rules and skills live at the workspace root: D:\CrusadersProjects\.agents\

  • Cross-cutting rules: .agents/AGENTS.md
  • Framework skill: .agents/skills/classic-framework.md
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Crusaders.Framework:

Package Downloads
Crusaders.API.Vstar.Bg.Services

Vstar API that implements Crusaders framework. Public services only.

Crusaders.API.AiCtrl.Dashboard.Services

AiCtrl API that implements Crusaders framework. Public services only.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.6.0 186 4/20/2026
3.5.0 256 3/26/2026
Loading failed