Zentient.Metadata.Attributes 1.0.0

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

Zentient.Metadata.Attributes

NuGet Version .NET License: MIT

Zentient.Metadata.Attributes provides a declarative, attribute-based approach to defining and discovering metadata in .NET applications. It enables you to annotate your types and members with rich metadata, which can be discovered and composed at runtime.

🧩 Key Features

  • Attribute-Based Metadata: Use [BehaviorDefinition], [CategoryDefinition], and [MetadataTag] to declare metadata
  • Unified Discovery: Scan assemblies, types, and members for metadata attributes
  • Legacy & Custom Attribute Support: Integrates with Zentient.Abstractions.Common.Metadata for cross-package compatibility
  • Analyzer-Ready: Designed for use with Zentient.Metadata.Analyzers for best practices and DX

🚀 Getting Started

Install Zentient.Metadata.Attributes into your .NET project:

dotnet add package Zentient.Metadata.Attributes

Supported Frameworks: .NET 8.0, .NET 9.0

Example Usage

using Zentient.Metadata.Attributes;

[BehaviorDefinition]
public class AuditableBehavior : IBehaviorDefinition { }

[CategoryDefinition]
public class ServiceCategory : ICategoryDefinition { }

[MetadataTag(typeof(VersionTag), "1.2")]
public class MyService { }

✨ Core Concepts

  • Declarative Model: Move metadata logic out of business code and into component design
  • Unified Scanning: Discover both Zentient.Metadata and Zentient.Abstractions attributes
  • Analyzer Integration: Get warnings for duplicate/conflicting tags and missing documentation

📚 Documentation

🤝 Contributing

We welcome contributions! Visit our GitHub Repository for source code, issues, and guidelines.

📄 License

Zentient.Metadata.Attributes is licensed under the MIT License. See the LICENSE file for details.


Zentient Framework – Attribute-driven, discoverable metadata for .NET.

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 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

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 138 9/11/2025

See CHANGELOG.md for release notes and docs/ for full specification.

Build Information:
- Built on: 2025-09-11T08:05:27.841Z
- Configuration: Release
- Target Framework:
- Version: 1.0.0
- Commit: cbb8ca4f62274368ddf294191cd3a94789e383a8
- Branch: main