GrpcJsonTranscoder 0.5.0
dotnet add package GrpcJsonTranscoder --version 0.5.0
NuGet\Install-Package GrpcJsonTranscoder -Version 0.5.0
<PackageReference Include="GrpcJsonTranscoder" Version="0.5.0" />
paket add GrpcJsonTranscoder --version 0.5.0
#r "nuget: GrpcJsonTranscoder, 0.5.0"
// Install GrpcJsonTranscoder as a Cake Addin #addin nuget:?package=GrpcJsonTranscoder&version=0.5.0 // Install GrpcJsonTranscoder as a Cake Tool #tool nuget:?package=GrpcJsonTranscoder&version=0.5.0
This is a filter that allows a RESTful JSON API client (Ocelot Gateway) to send requests to .NET Web API (Aggregator Service) over HTTP and get proxied to a gRPC service (on the downstream).
This project is inspired by grpc-gateway which is totally for golang, grpc-dynamic-gateway is for nodejs. And especially, Envoy gRPC-JSON transcoder is the best of transcoding in this area, but it is only on the infrastructure level. You also can use it just like my project used at coolstore-microservices.
gRPC parser borrows the idea from Ocelot.GrpcHttpGateway code-based.
If you liked GrpcJsonTranscoder
project or if it helped you, please give a star ⭐ for this repository. That will not only help strengthen our .NET community but also improve cloud-native apps development skills for .NET developers in around the world. Thank you very much 👍
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Google.Protobuf (>= 3.11.4)
- Grpc.Core (>= 2.27.0)
- Grpc.Reflection (>= 2.27.0)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Http.Extensions (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection (>= 3.1.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.2)
- Newtonsoft.Json (>= 12.0.3)
- Ocelot (>= 14.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.