Healthcheck Dotnet Rabbitmq
Đăng ký RabbitMQ readiness qua AddRabbitMQ() và HealthChecks:Readiness. Dùng khi project .NET cần probe message broker trên /health/ready.
Caching Dotnet
Thiết lập Jarvis.Caching — memory + Redis distributed cache, invalidation pub/sub, cache-aside GetOrSetAsync. Dùng khi tích hợp cache .NET, section Cache, hoặc cache connection string cho EF.
Code Review Dotnet
Review code C#/.NET trước khi tạo PR — checklist đầy đủ, ưu tiên production risk, áp dụng mọi solution backend.
Entityframework Dotnet
Thiết lập Jarvis.EntityFramework — repository, multitenancy, AddCoreDbContext, UoW. Dùng khi tích hợp EF Core .NET với single DB, separate tenant DB, hybrid, hoặc custom DI resolver.
Deliberation
>-
Telemetry Dotnet
Thiết lập Jarvis.OpenTelemetry cho ASP.NET Core — trace/metric/log OTLP, enrich middleware, instrumentation plug-in. Dùng khi tích hợp telemetry .NET, section OTEL, hoặc thêm Redis/EF/enricher.
Swashbuckle Dotnet Api Key Security
Cấu hình Swagger SecuritySchemes API Key cho Jarvis.Swashbuckle. Dùng khi API xác thực qua header X-API-KEY.
Foundation Dotnet
Thiết lập Jarvis foundation — Domain.Shared, Domain, Mvc (Json, WebApi, Cors, ApiResponseWrapper, IWorkContext). Dùng khi bootstrap API ASP.NET Core với response chuẩn BaseResponse.
Observability Dotnet
Thiết lập observability metric cho service .NET — OTEL instrumentation, Prometheus scrape, Grafana dashboard, Prometheus/Alertmanager rules và vận hành. Dùng khi onboard metric mới, tạo dashboard, gắn alert, hoặc chuẩn hóa pipeline OTEL → Prometheus → Grafana.
Authentication Dotnet Cognito
Tích hợp Jarvis AWS Cognito qua Jarvis.Authentications.Cognito — CognitoClient và IAuthenticationService. Dùng khi auth qua user pool Cognito.
Telemetry Dotnet Trace Plugin
Đăng ký custom ITraceInstrumentation singleton để mở rộng TracerProviderBuilder. Dùng khi cần instrumentation trace không có sẵn trong Jarvis core.
Minipower
>-
Healthcheck Dotnet Postgresql
Đăng ký PostgreSQL readiness qua AddNpgSql() và HealthChecks:Readiness. Dùng khi project .NET cần probe Npgsql trên /health/ready.
Entityframework Dotnet Separate Tenant Db
Đăng ký Jarvis EF separate tenant database — Master DbContext + DbTenantConnectionStringResolver per tenant. Dùng khi mỗi tenant một database riêng.
Telemetry Dotnet Entityframework
Bật EF Core trace qua OpenTelemetry.Instrumentation.EntityFrameworkCore trong ConfigureTrace. Dùng khi cần span truy vấn DbContext trên pipeline trace.
Application Dotnet
Thiết lập Jarvis.DDD.Application — CQRS dispatcher ICommand/IQuery, handler DI. Dùng khi project Application layer dùng pattern command/query với Jarvis.
Swashbuckle Dotnet Jwt Security
Cấu hình Swagger SecuritySchemes JWT cho Jarvis.Swashbuckle. Dùng khi API dùng Bearer token và cần nút Authorize trên Swagger UI.
Authentication Dotnet Basic
Đăng ký Jarvis HTTP Basic AddCoreBasic trong callback AddJarvisAuthentication — mặc định ConfigBasicCredentialProvider đọc config Users, hoặc custom IBasicCredentialProvider cho DB. Dùng khi client gửi Authorization Basic.
Healthcheck Dotnet Mssql
Đăng ký SQL Server readiness qua AddSqlServer() (SELECT 1) và HealthChecks:Readiness. Dùng khi project .NET cần probe MSSQL trên /health/ready.
Healthcheck Dotnet Http
Đăng ký HTTP endpoint readiness bằng custom IHealthCheck (IHttpClientFactory, GET). Dùng khi project .NET cần probe API/dịch vụ HTTP ngoài trên /health/ready.
Telemetry Dotnet Logging Plugin
Đăng ký custom ILoggingExporter singleton để cấu hình thêm LoggerProviderBuilder. Dùng khi cần exporter log bổ sung ngoài OTLP/console mặc định Jarvis.
Ba Architecture
>-
Caching Dotnet Otel Redis
Instrument Redis cache connections cho OpenTelemetry trace qua AddJarvisCachingDistributedRedisInstrumentation và AddJarvisCachingMemoryInvalidationRedisInstrumentation.
Healthcheck Dotnet Mysql
Đăng ký MySQL readiness qua AddMySql() và HealthChecks:Readiness. Dùng khi project .NET cần probe MariaDB/MySQL trên /health/ready.
Blobstoring Dotnet Filesystem
Đăng ký Jarvis BlobStoring FileSystem — keyed IBlobStoringService FileSystemService với FileSystemOption RootPath. Dùng khi lưu file trên disk local hoặc volume mount.
Healthcheck Dotnet Minio
Đăng ký MinIO readiness bằng custom IHealthCheck (GET minio/health/live). Dùng khi project .NET cần probe object storage MinIO trên /health/ready.
Healthcheck Dotnet Kafka
Đăng ký Kafka readiness qua AddKafka() (broker connectivity) và HealthChecks:Readiness. Dùng khi project .NET cần probe Kafka trên /health/ready.
Telemetry Dotnet Redis
Bật Redis trace instrumentation qua Jarvis plug-in hoặc OpenTelemetry.Instrumentation.StackExchangeRedis. Dùng khi cần span Redis trên trace pipeline; IConnectionMultiplexer phải đăng ký trước.
Blobstoring Dotnet
Thiết lập Jarvis.BlobStoring — upload/download file qua IBlobStoringService với FileSystem hoặc MinIO keyed DI. Dùng khi tích hợp blob storage .NET, section FileSystem/MinIO, hoặc inject IBlobStoringService.
Healthcheck Dotnet Signalr
Đăng ký SignalR hub readiness qua AddSignalRHub() và HealthChecks:Readiness. Dùng khi project .NET cần probe hub SignalR trên /health/ready.
Healthcheck Dotnet Oracle
Đăng ký Oracle readiness qua AddOracle() và HealthChecks:Readiness. Dùng khi project .NET cần probe Oracle DB trên /health/ready.
Caching Dotnet Redis Invalidation
Bật pub/sub xóa memory cache giữa các node qua UseRedisMemoryCacheInvalidation. Dùng khi multi-instance ASP.NET Core cần đồng bộ memory sau write.
Swashbuckle Dotnet
Thiết lập Jarvis.Swashbuckle — Swagger/OpenAPI đa phiên bản, BaseResponse schema, security JWT/API Key. Dùng khi tích hợp Swagger .NET với Jarvis API response wrapper.
Entityframework Dotnet Hybrid
Jarvis EF hybrid multitenancy — Master registry với pool DB chung và dedicated DB per tenant. Dùng khi tenant chia sẻ hoặc tách database linh hoạt.
Telemetry Dotnet Metric Plugin
Đăng ký custom IMetricInstrumentation singleton để mở rộng MeterProviderBuilder. Dùng khi cần metric instrumentation bổ sung ngoài runtime/aspnet mặc định Jarvis.
Telemetry Dotnet Enrich
Đăng ký IEnrichTraceService và IEnrichLogService trong AddJarvisOpenTelemetry. Dùng khi cần tag trace và log scope từ HttpContext (user, tenant) qua UseJarvisOpenTelemetry.
Troubleshooting Dotnet
Troubleshoot .NET services bằng metrics Grafana/Prometheus — lấy panel PromQL, thay biến dashboard, query 24h, chuẩn hóa JSON cho AI. Dùng khi sự cố production, spike CPU/memory, panel Grafana trống, hoặc cần số liệu thực từ Prometheus.
Healthcheck Dotnet
Thiết lập Jarvis.HealthChecks cho ASP.NET Core — init liveness/startup/readiness, HealthChecks UI, thêm provider readiness. Dùng khi tích hợp healthcheck .NET, /health/live, /health/ready, /healthchecks-ui, hoặc thêm dependency (PostgreSQL, MySQL, SQL Server, Redis, …).
Jarvis Dotnet
Scaffold solution .NET 9 phân lớp + cài Jarvis framework từ folder trống — F5 chạy Swagger. Dùng khi tạo project backend mới, cài package Jarvis, hoặc thêm module vào solution có sẵn.
Caching Dotnet Redis Distributed
Bật Redis distributed cache qua UseRedisDistributedCache và Cache:DistributedGroups. Dùng khi project Jarvis cần L2 cache Redis theo nhóm cluster.
Authentication Dotnet
Thiết lập Jarvis Authentication — JWT Bearer, API Key, HTTP Basic, AWS Cognito qua AddJarvisAuthentication + Composite scheme. Dùng khi API ASP.NET Core cần xác thực Bearer, header API key, Basic hoặc Cognito qua Jarvis.Authentications.*.
Ba Change Control
>-
Authentication Dotnet Jwt
Đăng ký Jarvis JWT Bearer AddCoreJwtBearer trong callback AddJarvisAuthentication, section Authentication:Jwt:{scheme}. Dùng khi API cần xác thực Bearer token (OIDC hoặc symmetric key).
Entityframework Dotnet Single Db
Đăng ký Jarvis EF single database — AddCoreDbContext một generic, ITenantEntity filter theo TenantId. Dùng khi SaaS dùng chung một DB.
Entityframework Dotnet Custom Di
Tùy biến Jarvis EF tenant resolution qua ITenantIdResolverFactory và ITenantConnectionStringResolver — không sửa thư viện Jarvis.
Authentication Dotnet Api Key
Đăng ký Jarvis API Key AddCoreApiKey trong callback AddJarvisAuthentication — mặc định ConfigApiKeyProvider đọc config, hoặc custom IApiKeyProvider cho DB. Dùng khi client gửi key qua header X-API-KEY.
Notification Dotnet
Thiết lập Jarvis.Notification — email SMTP qua Mailkit IEmailSender, NotificationBuilder. Dùng khi app gửi email transactional qua section Smtp.
Notification Dotnet Mailkit Smtp
Đăng ký Jarvis Notification Mailkit SMTP — NotificationBuilder AddSmtp và MailkitSender IEmailSender. Dùng khi gửi email qua SMTP transactional.