GJJ.Keystone.AspNetCore 1.0.7

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

GJJMicroserviceKit.AspNetCore

NuGet Downloads License: MIT

GJJ 微服务 ASP.NET Core 扩展套件:Consul 服务发现、Apollo 配置中心、OpenTelemetry(OTLP/HTTP/SQLClient/EFCore/AspNetCore)观测、JWT Bearer、常用中间件与过滤器等。

目标:把与 Web 宿主强相关的能力沉淀在此包,保持核心库干净、可移植。


✨ 功能概览

  • 🧭 Consul:服务注册/健康检查/发现(封装 Consul 客户端)
  • ⚙️ Apollo:配置拉取/热更新(封装 Com.Ctrip.Framework.Apollo.Configuration
  • 📈 OpenTelemetry:Tracing/Metrics/Logs(AspNetCore/Http/SqlClient/EFCore)
  • 🔐 JWT Bearer:快速配置认证与 JwtBearerOptions
  • 🧱 中间件/过滤器:异常处理、统一响应、请求追踪(示例)

实际扩展方法命名以你的实现为准,本文给出调用形态示例


📦 安装

dotnet add package GJJMicroserviceKit.AspNetCore
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 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. 
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.7 47 9/28/2025
1.0.6 94 9/26/2025
1.0.5 123 9/24/2025
1.0.4 126 9/23/2025
1.0.3 123 9/23/2025
1.0.2 121 9/23/2025