Zen.CanonicaLib.UI 1.7.0

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

CanonicaLib

Build and Publish NuGet Packages License Zen.CanonicaLib.DataAnnotations Zen.CanonicaLib.UI

CanonicaLib Logo

CanonicaLib is an open-source library that enables teams to create and maintain canonical shared libraries across multiple projects. It transforms C# source code into standards-compliant packages for different platforms.

🎯 Purpose

CanonicaLib bridges gaps between development teams and prevents silos by enabling shared concepts and ideas through canonical models. Define contracts once in C#, generate packages for multiple platforms:

  • Standards-compliant .NET NuGet packages
  • OpenAPI specifications
  • TypeScript NPM packages (planned)

This approach ensures consistent data models, API contracts, and shared capabilities across teams, promoting collaboration and reducing duplication.

✨ Features

  • Canonical Model Definitions: Define data models once using C# classes with attributes
  • OpenAPI Generation: Automatically generate OpenAPI specs from attributed interfaces
  • Schema Generation: Convert C# types to JSON schemas using reflection
  • XML Documentation: Extract descriptions from XML docs automatically
  • Cross-Platform Packages: Generate packages for multiple platforms from single source

🏗️ Architecture

Core Packages

  • CanonicaLib.DataAnnotations (.NET Standard 2.1): Core attributes for marking canonical contracts
  • CanonicaLib.UI (.NET 8): OpenAPI generation and discovery services

🚀 Getting Started

Please see the Getting Started Guide to get started

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

📄 License

Licensed under the Apache License 2.0 - see LICENSE file for details. Copyright © 2025 Zen Internet Ltd

📋 Roadmap

  • Enhanced schema generation with reflection
  • XML documentation integration
  • OpenAPI extensions support
  • TypeScript NPM package generation
  • CLI tooling
  • Enhanced webhook support

🏷️ Version History

See CHANGELOG.md for a detailed history of changes and releases.


CanonicaLib - Building canonical contracts for modern development teams.

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
1.7.0 90 3/6/2026
1.7.0-prerelease.209 37 3/6/2026
1.7.0-prerelease.207 57 3/4/2026
1.7.0-prerelease.204 35 3/4/2026
1.6.0-rc.210 38 3/6/2026
1.6.0-rc.206 39 3/4/2026
1.6.0-rc.205 32 3/4/2026
1.6.0-rc.201 37 3/4/2026
1.6.0-rc.199 32 3/4/2026
1.6.0-rc.197 30 3/4/2026
1.6.0-rc.195 36 3/4/2026
1.6.0-rc.193 39 3/4/2026
1.6.0-rc.191 46 2/20/2026
1.5.0 188 12/19/2025
1.5.0-rc.185 133 12/19/2025
1.4.0 370 12/18/2025
1.4.0-rc.182 241 12/18/2025
1.4.0-rc.180 230 12/18/2025
1.4.0-prerelease.184 141 12/19/2025
1.4.0-prerelease.181 225 12/18/2025
Loading failed