We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
官方给出了一个名为Grpcurl的调试工具(类似swagger)用以调试GRPC,我发现ProtoFirst可以使用,但是Codefirst不行。翻了一下源码发现调试工具使用反射来获取接口列表,使用ProtoBuff文件生成的类都包含Descriptor这个属性,想问下大佬有什么好的思路来实现CodeFirst也能够使用Grpcurl
The text was updated successfully, but these errors were encountered:
https://docs.microsoft.com/en-us/aspnet/core/grpc/test-tools?view=aspnetcore-3.0
可以参考这个,endpoints.MapGrpcReflectionService(); 就可以了
Sorry, something went wrong.
No branches or pull requests
官方给出了一个名为Grpcurl的调试工具(类似swagger)用以调试GRPC,我发现ProtoFirst可以使用,但是Codefirst不行。翻了一下源码发现调试工具使用反射来获取接口列表,使用ProtoBuff文件生成的类都包含Descriptor这个属性,想问下大佬有什么好的思路来实现CodeFirst也能够使用Grpcurl
The text was updated successfully, but these errors were encountered: