CyberEye.Common.Lib
3.0.34
dotnet add package CyberEye.Common.Lib --version 3.0.34
NuGet\Install-Package CyberEye.Common.Lib -Version 3.0.34
<PackageReference Include="CyberEye.Common.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.Common.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.Common.Lib" />
paket add CyberEye.Common.Lib --version 3.0.34
#r "nuget: CyberEye.Common.Lib, 3.0.34"
#:package CyberEye.Common.Lib@3.0.34
#addin nuget:?package=CyberEye.Common.Lib&version=3.0.34
#tool nuget:?package=CyberEye.Common.Lib&version=3.0.34
CyberEye.Common.Lib
Khung khởi tạo ứng dụng ASP.NET Core: HostingExtensions, controller cơ sở, middleware, đăng ký DI và background workers. Repository/base service SQL được triển khai trong Ce.Orm.Lib.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.Common.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.
Tích hợp backend
using Ce.Common.Lib.HostingExtensions.ServiceRegistration;
using Ce.Common.Lib.HostingExtensions.PipelineBuilder;
// Fragment sau khi host đã nạp cấu hình và có builder.
builder.AddBaseApiServices();
// Đăng ký dependency nghiệp vụ tại đây.
var app = builder.Build();
await app.NewApiPipeline().BuildAsync();
await app.RunAsync();
Đây không phải ứng dụng độc lập: cần ServiceConfiguration, database/cache/broker theo tính năng sử dụng, cùng entity/DTO/service của host. Chọn phương thức khởi tạo phù hợp với loại host của ứng dụng.
Trách nhiệm và giới hạn
- StartupHelper cung cấp các hàm quét assembly; không mặc định quét toàn bộ solution.
- Middleware xử lý lỗi, correlation và các bước HTTP; cấu hình bảo mật vẫn do host lựa chọn.
- Background workers cần scope riêng khi dùng dependency scoped.
- Metrics, tracing và health checks chỉ hoạt động theo flags/dependency thực tế; không đăng ký trùng listener sau module host.
| 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
- AspNet.Security.OAuth.GitHub (>= 8.3.0)
- ClosedXML (>= 0.105.0)
- CyberEye.Caching.Lib (>= 3.0.34)
- CyberEye.Constant.Lib (>= 3.0.34)
- CyberEye.DataScope.Lib (>= 3.0.34)
- CyberEye.Elasticsearch.Lib (>= 3.0.34)
- CyberEye.HealthCheck.Lib (>= 3.0.34)
- CyberEye.Interaction.Lib (>= 3.0.34)
- CyberEye.Logging.Lib (>= 3.0.34)
- CyberEye.MongoDb.Lib (>= 3.0.34)
- CyberEye.Observability.Lib (>= 3.0.34)
- CyberEye.Orm.Lib (>= 3.0.34)
- Docker.DotNet (>= 3.125.15)
- KubernetesClient (>= 19.0.2)
- MailKit (>= 4.16.0)
- Microsoft.AspNetCore.Authentication.Facebook (>= 8.0.24)
- Microsoft.AspNetCore.Authentication.Google (>= 8.0.25)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.24)
- Microsoft.AspNetCore.Authentication.MicrosoftAccount (>= 8.0.24)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 8.0.24)
- Microsoft.AspNetCore.Authentication.Twitter (>= 8.0.24)
- Microsoft.AspNetCore.Authentication.WsFederation (>= 8.0.24)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 8.0.24)
- Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (>= 8.0.24)
- Microsoft.AspNetCore.SignalR.StackExchangeRedis (>= 8.0.24)
- Mime-Detective (>= 25.8.1)
- NWebsec.AspNetCore.Middleware (>= 3.0.0)
- SendGrid (>= 9.29.3)
- Swashbuckle.AspNetCore (>= 8.1.4)
- Swashbuckle.AspNetCore.Newtonsoft (>= 8.1.4)
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 |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 40 | 11/15/2026 |
| 3.0.30 | 45 | 11/15/2026 |
| 3.0.29 | 53 | 11/13/2026 |
| 3.0.28 | 116 | 11/6/2026 |
| 3.0.27 | 141 | 9/17/2026 |
| 3.0.26 | 142 | 9/8/2026 |
| 3.0.25 | 157 | 8/22/2026 |
| 3.0.24 | 151 | 8/10/2026 |
| 3.0.23 | 132 | 8/9/2026 |
| 3.0.22 | 166 | 8/1/2026 |
| 3.0.21 | 134 | 7/28/2026 |
| 3.0.20 | 156 | 7/27/2026 |
| 3.0.19 | 137 | 7/27/2026 |
| 3.0.18 | 129 | 7/17/2026 |
| 3.0.17 | 154 | 7/13/2026 |
| 3.0.16 | 146 | 7/12/2026 |
| 3.0.15 | 138 | 7/10/2026 |