Neon is supporting serialization of primitives and protobuf messages.
If you already have generated protobuf classes, you need to register them in your client/server configuration in any way below
configuration.Serializer.RegisterTypesFromAssembly(typeof(MyProtobufMessage).Assembly); configuration.Serializer.RegisterTypesFromCurrentAssembly(); configuration.Serializer.RegisterType(typeof(MyProtobufMessage));
Be careful, types not registered in serializer will throw exception on serialization/deserializetion
There was an error while loading. Please reload this page.