endpoint-registration

Community

Register gRPC clients and service URLs reliably

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes and automates registering gRPC client factories and service URLs in a .NET gateway so backend connections are configured, validated, and instrumented consistently.

Core Features & Use Cases

  • Validated URL Configuration: Bind ServicesURLsOptions from configuration with data annotation validation and ValidateOnStart to fail fast on misconfiguration.
  • Centralized gRPC Client Registration: Provide a single AddGrpcClients extension that registers multiple AddGrpcClient<T> entries via a provider callback that resolves URLs at runtime.
  • Interceptor & Metadata Forwarding: Register shared interceptors to forward culture and access claims to backend services and ensure proto files are referenced in csproj with GrpcServices set to Client.
  • Use Case: Add gateway support for order and product microservices by adding URL entries to configuration, copying protos into Protos/, and calling the AddGrpcClients extension from Program.cs.

Quick Start

Use the endpoint-registration skill to add AddGrpcClients, bind ServicesURLsOptions, enable ValidateOnStart, and register RegisterInterceptors so gRPC clients resolve URLs and forward culture and access claims.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: endpoint-registration
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#endpoint-registration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.