Skip to content
项目

microsoft/FeatureManagement-Dotnet

在 GitHub 查看

关于

Microsoft.FeatureManagement 为在应用程序中启用功能标志提供标准化 API。使用此库可以在开发采用 Beta 访问、逐步发布、暗部署等模式的应用程序时,确保一致的体验。

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

.NET Feature Management

Microsoft.FeatureManagement Microsoft.FeatureManagement.AspNetCore

Feature management provides a way to develop and expose application functionality based on features. Many applications have special requirements when a new feature is developed such as when the feature should be enabled and under what conditions. This library provides a way to define these relationships, and also integrates into common .NET code patterns to make exposing these features possible.

Get started

Quickstart: A quickstart guide is available to learn how to integrate feature flags from Azure App Configuration into your .NET applications.

Feature Reference: This document provides a full feature rundown.

API reference: This API reference details the API surface of the libraries contained within this repository.

Release Notes: The release notes for all versions of the feature management libraries can be found here.

Examples

OpenTelemetry integration

Microsoft.FeatureManagement.Telemetry.OpenTelemetry provides feature-evaluation event publishing and targeting enrichment for spans and logs. Register feature management with services.AddFeatureManagement(), then call AddFeatureManagementProcessors() on the builder returned by services.AddOpenTelemetry(). The integration automatically attaches its targeting processors; applications configure their own providers and exporters.

Register the integration before exporters, including exporters configured separately through logging APIs. An exporter integration with an explicit exporter-last guarantee may be registered in either order. This library does not reorder existing OpenTelemetry registrations.

See the OpenTelemetry sample for complete setup.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

探索相关项目

加载中…