我已经使用债券编译器gbc为我创建了一些对象和服务定义:
namespace Something;
struct SomeStruct
{
0: string SomeName;
}
struct SomeResponse
{
0: string ResponseString;
}
service SomeService
{
SomeResponse DoSomething(SomeStruct);
}编译器生成一个具有此签名的类定义Something_services.cs:
[System.CodeDom.Compiler.GeneratedCode("gbc", "0.8.0.0")]
public abstract class SomeServiceServiceBase : ISomeService, global::Bond.Comm.IService我对IService接口感到好奇,想知道更多关于这一点的信息,于是来到了(comm.html)。首先要阅读的是,Bond.Comm是不推荐的,您应该使用Bond (grpc.html)代替。
我有两个问题:
提前感谢!
编辑
第三个问题出现了:如何使用文档中提到的--grpc-标志?
发布于 2017-04-12 20:16:04
https://stackoverflow.com/questions/43369045
复制相似问题