As you can see in Versioning gRPC services, in GRPC we can use versioning by defining package in a proto file.
How can I achieve the same functionality in a code-first approach?
As you can see in Versioning gRPC services, in GRPC we can use versioning by defining package in a proto file.
How can I achieve the same functionality in a code-first approach?
Copyright © 2021 Jogjafile Inc.
You can use some approaches for meeting your requirements.
First with
Service[greet.V1]:Second with
namespace gree.V1:Third, you can change the name
interfaceto combine with a version, for example,ICaptchaQueryServicetoICaptchaQueryServiceV1.In the end, you can combine some of above methods together as you need.