CyberEye.Configuration.Lib
3.0.34
dotnet add package CyberEye.Configuration.Lib --version 3.0.34
NuGet\Install-Package CyberEye.Configuration.Lib -Version 3.0.34
<PackageReference Include="CyberEye.Configuration.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.Configuration.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.Configuration.Lib" />
paket add CyberEye.Configuration.Lib --version 3.0.34
#r "nuget: CyberEye.Configuration.Lib, 3.0.34"
#:package CyberEye.Configuration.Lib@3.0.34
#addin nuget:?package=CyberEye.Configuration.Lib&version=3.0.34
#tool nuget:?package=CyberEye.Configuration.Lib&version=3.0.34
CyberEye.Configuration.Lib
Các model cấu hình có kiểu dữ liệu rõ ràng và client đọc snapshot từ ConfigServer. Đăng ký client không đồng nghĩa tự nạp mọi snapshot vào IConfiguration của host.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.Configuration.Lib
Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.
Đăng ký snapshot client
using Ce.Configuration.Lib.ExternalConfigurations;
builder.Services.AddConfigServerSnapshotProviders(
new Uri("http://config-server:8888"));
Đây là đăng ký typed provider; lựa chọn service/application, bootstrap configuration và cơ chế reload phải theo luồng ConfigServer của host. Method nhận Uri, không nhận IConfiguration. API key nên lấy từ secret store hoặc biến môi trường CONFIGSERVER_API_KEY.
Các nhóm cấu hình
MetricConfiguration, TraceConfiguration, HealthCheckConfiguration và các thiết lập AI/log/cache được module tương ứng bind từ appsettings. Không phải mọi lớp có hậu tố Config đều là model bind; một số là static state đã xử lý.
IOptionsSnapshot/IOptionsMonitor chỉ phản ánh thay đổi khi configuration provider hỗ trợ reload và consumer đọc lại giá trị. Listener/exporter được tạo lúc startup không tự được tạo lại.
| 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.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Configuration.CommandLine (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.Configuration.FileExtensions (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.Http (>= 8.0.1)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on CyberEye.Configuration.Lib:
| Package | Downloads |
|---|---|
|
CyberEye.EventBusRabbitMq.Lib
Package implement Advanced Message Queuing Protocol (AMQP) với RabbitMq |
|
|
CyberEye.Axe.Utility
Package chứa các hàm tiện ích cho dự án AXE |
|
|
CyberEye.SharedSql.Lib
Package các common cho Sql (bao gồm cả NoSql & RDBMS) |
|
|
CyberEye.Logging.Lib
Package chứa các thư viện, hàm tiện ích về Logs |
|
|
CyberEye.EventBusKafka.Lib
Package implement giao th?c pub/sub v?i Kafka |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 75 | 11/15/2026 |
| 3.0.30 | 82 | 11/15/2026 |
| 3.0.29 | 117 | 11/13/2026 |
| 3.0.28 | 704 | 11/6/2026 |
| 3.0.27 | 708 | 9/17/2026 |
| 3.0.26 | 665 | 9/8/2026 |
| 3.0.25 | 778 | 8/22/2026 |
| 3.0.24 | 710 | 8/10/2026 |
| 3.0.23 | 690 | 8/9/2026 |
| 3.0.22 | 918 | 8/1/2026 |
| 3.0.21 | 895 | 7/28/2026 |
| 3.0.20 | 871 | 7/27/2026 |
| 3.0.19 | 872 | 7/27/2026 |
| 3.0.18 | 786 | 7/17/2026 |
| 3.0.17 | 811 | 7/13/2026 |
| 3.0.16 | 788 | 7/12/2026 |
| 3.0.15 | 786 | 7/10/2026 |