❔ 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.
![](https://utfs.io/f/c17b3c8c-2181-42b5-8cdd-9a691e8dafd4-1nq2cb.png)
![](https://utfs.io/f/f948e359-ba49-4ecc-94c3-6c3cdc62b75f-1nq2cb.png)
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.