I have two microservices namely ProductService and BillingService. Both are written in .Net core web API project.
1. Product service has an endpoint like : httpget- v1/product/bed/b1
2. BillingService has an endpoint like: httpget - v1/billing/b1
Product service will in return call billing service via the httpget - v1/billing/b1 to get the price details. Now they both talk over http1 / rest representation.
My requirement is to make them communicate (product talk to billing) via gRPC, in .Net core.
After some analysis found grpc http api plugin for .Net core which will be able to expose the grpc service as a rest endpoint, but its still in experimental state
So now my other option is gRPC gateway
My question is can I write a grpc gateway in .Net core ? Most of the examples of grpc gateway is written in GO language.
How can I write a gRPC gateway in .Net core, for existing http rest APIs ? How to convert the existing rest APIs to gRPC services ?
Any comment is super helpful !