C
C#2y ago
volvic

❔ cannot bind service when adding .AddJsonTrancoding()

Hello, I have a bank account gRPC service project with different requests but I wish now to use the new feature gRPC JsonTranscoding with SwaggerUi. for making API calls. My issue is when adding the .AddJsonTranscoding() and the rest of the AddSwagger() code as written in the documentation and I have this following exceptions that says unable to bind my service at app.MapGrpcService<>() I created a greeter service project template to test then followed steps from the documentations ,the project works fine. Does anyone had encounter this issue with this new feature ? documentation of json transcoding available at : https://learn.microsoft.com/en-us/aspnet/core/grpc/json-transcoding?view=aspnetcore-7.0
gRPC JSON transcoding in ASP.NET Core gRPC apps
Learn how to create JSON HTTP APIs for gRPC services using gRPC JSON transcoding.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server