Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate Go code to C# for gRPC interceptors #10

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

toma3233
Copy link
Contributor

@toma3233 toma3233 commented May 28, 2024

Related to #9

This pull request updates the Azure/aks-middleware repository by replacing all Go code with C# implementations, specifically focusing on gRPC interceptors to leverage C# capabilities.

  • Deletes Go files: Removes all existing Go files related to gRPC interceptors, including autologger.go, ctxlogger.go, interceptor.go, and several others, to make way for C# implementations.
  • Adds C# files: Introduces new C# files that replicate the functionality of the deleted Go files. This includes autologger.cs, ctxlogger.cs, interceptor.cs, and others, each implementing the equivalent functionality in C#.
  • Implements gRPC Interceptors in C#: Each added C# file serves a specific purpose within the gRPC interceptor framework, such as logging, error handling, metadata forwarding, retry policies, and request ID generation, fully transitioning the middleware to utilize C# features.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant