|
1
6
protobuf net尽其所能遵循核心protobuf规范,然后一些(例如,它包含继承),但是:
如果您想要序列化的内容有一些有限的例子,我会很高兴地看看它是否可行(我是作者)。 |
|
2
0
当您必须与现有软件/现有标准进行交互时,这是不合适的。例如,您不能使用它与SMTP服务器通信。 |
|
|
3
0
请在这里读这个 blog 关于Protobuf网,引用 Whatâs the catch? In the most part, thatâs it. WCF will use protobuf-net for any suitable objects (data-contracts etc). Note that this is a coarser brush than the per-operation control, though (you could always split the interface into different endpoints, of course). Also, protobuf-net does have some subtle differences (especially regarding empty objects), so run your unit tests etc. Note that it only works on the full-fat WCF; it wonât help Silverlight etc, since it lacks the extension features â but that isnât new here. Finally, the resolver in WCF is a pain, and AFAIK wants the full assembly details including version number; so one more thing to maintain when you get new versions. If anyone knows how to get around this? |
|
|
A B · C#Excel自动调整列避免长文本时出错 1 年前 |
|
|
Megrez7 · C#ToArray转换合并为一行,导致数组元素更改 1 年前 |
|
Aycon · 在工厂方法中释放部分创建的对象的正确方法是什么? 1 年前 |
|
|
Sei · Avalonia/WPF将路由器传递到控制模板 1 年前 |