Yes, a `byte[]` can be declared as a `ProtoMember` - it maps to the `bytes`
type in the protobuf spec. I would strongly advise *against* DynamicType
here; that should be used as a last resort only. If you know the data you
want to serialize is actually a finite set of types, I would use that if
Hey Marc,
I know this is an old article. but i need to ask you something regarding
this.
We have a WCF service which we use to execute SqlCommands to our DB. We
send Commands with DataContractSerialization. I came across protobuf-net
and I have converted my WCF service to use protobuf. We now
Ooh, the idea of allowing SQL over a service boundary sends all kinds of
shivers up my back, and not the good kind of shivers. On your head be it,
but: I wouldn't do that myself.
I once did some experimental datatable serialisation code - it isn't in the
release binary, but it is still inside the
From the message, that *sounds* like protobuf-net...
There is no built-in handling of this, but it is possibly something that
could be added, especially in v2 which has a much more flexible model. For
example, you *could* argue that there is an implicit schema that uses a
repeated element per
Hi All,
Im just wondering can protobuf serialize datatable.
Im a c# developer, and when i tried to serialize datatable it prompt
this error:
Only data-contract classes (and lists/arrays of such) can be
processed (error processing DataTable)
Tried to google this problem but cannot find