Zen.CanonicaLib.UI
1.5.0
See the version list below for details.
dotnet add package Zen.CanonicaLib.UI --version 1.5.0
NuGet\Install-Package Zen.CanonicaLib.UI -Version 1.5.0
<PackageReference Include="Zen.CanonicaLib.UI" Version="1.5.0" />
<PackageVersion Include="Zen.CanonicaLib.UI" Version="1.5.0" />
<PackageReference Include="Zen.CanonicaLib.UI" />
paket add Zen.CanonicaLib.UI --version 1.5.0
#r "nuget: Zen.CanonicaLib.UI, 1.5.0"
#:package Zen.CanonicaLib.UI@1.5.0
#addin nuget:?package=Zen.CanonicaLib.UI&version=1.5.0
#tool nuget:?package=Zen.CanonicaLib.UI&version=1.5.0
CanonicaLib
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 contractsCanonicaLib.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 | Versions 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. |
-
net8.0
- Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (>= 8.0.21)
- Microsoft.OpenApi (>= 2.3.9)
- Namotion.Reflection (>= 3.4.3)
- Zen.CanonicaLib.DataAnnotations (>= 1.5.0)
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 | 91 | 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 | 371 | 12/18/2025 |
| 1.4.0-rc.182 | 242 | 12/18/2025 |
| 1.4.0-rc.180 | 231 | 12/18/2025 |
| 1.4.0-prerelease.184 | 141 | 12/19/2025 |
| 1.4.0-prerelease.181 | 226 | 12/18/2025 |