tagged [protocol-buffers]

How to integrate ServiceStack service using protobuf with a non-ServiceStack client?

How to integrate ServiceStack service using protobuf with a non-ServiceStack client? I would like to use ServiceStack on the server side, and I would like to use protobuf-net as the serialization syst...

Endianness of protocol buffer message

Endianness of protocol buffer message ## Background: A C++ program run on a server and outputs network data in a protocol buffer file. The data contains, among other things ip addresses and ports.The ...

20 Jun at 09:12

How do I generate .proto files or use 'Code First gRPC' in C#

How do I generate .proto files or use 'Code First gRPC' in C# I want to use gRPC with .NET in an asp.net core web application. How do I generate the necessary .proto file from an existing C# class and...

12 Jan at 20:40

Can Nullable types be sent through Protocol Buffers?

Can Nullable types be sent through Protocol Buffers? The [Proto3 C# Reference](https://developers.google.com/protocol-buffers/docs/reference/csharp-generated#wrapper_types) contains the following text...

25 Apr at 16:9

How do you share gRPC proto definitions between services

How do you share gRPC proto definitions between services I am specifying a number of independent services that will all be hosted out of the same server process. Each service is defined in its own pro...

Google Protobuf 3.0.0 assemblies for C#

Google Protobuf 3.0.0 assemblies for C# In our project we successfully use Google Protobuf for C++. Now there is a need to compile the same *.proto file to use it in C# code. I downloaded the recent [...

ServiceStack ProtoBuff Serialization to custom stream

ServiceStack ProtoBuff Serialization to custom stream a few days ago i posted a question about Serializing the ResponseStatus property with BinaryFormatter. Mythz pointed out it wasnt the fastest way ...

18 Jun at 19:27

grpc unhandled exception StatusCode=Unknown when invoking a method generated from a proto file

grpc unhandled exception StatusCode=Unknown when invoking a method generated from a proto file I have a client and server and get an unhandled exception of type `Grpc.Core.RpcException` with `Status(S...

15 Jan at 14:23

Deserialize unknown type with protobuf-net

Deserialize unknown type with protobuf-net I have 2 networked apps that should send serialized protobuf-net messages to each other. I can serialize the objects and send them, however, . I tried to des...

How to use protobuf-net with immutable value types?

How to use protobuf-net with immutable value types? Suppose I have an immutable value type like this: ``` [Serializable] [DataContract] public struct MyValueType : ISerializable { private readonly int...

Protocol buffers in C# projects using protobuf-net - best practices for code generation

Protocol buffers in C# projects using protobuf-net - best practices for code generation I'm trying to use protobuf in a C# project, using protobuf-net, and am wondering what is the best way to organis...

Grpc.Core.RpcException method is unimplemented with C# client and Java Server

Grpc.Core.RpcException method is unimplemented with C# client and Java Server I am having trouble finding the source of this error. I implemented a simple service using protobuf: ``` syntax = "proto3"...