Kittyfisto / SharpRemote

A .NET remoting library
MIT License
12 stars 5 forks source link

Add XML serializer #32

Open Kittyfisto opened 7 years ago

Kittyfisto commented 7 years ago

Debugging, for example using wireshark, will become alot easier if the data transmitted over the wire is human readable.

Kittyfisto commented 6 years ago

The new serializer interface shall allow arguments to be named. The method dispatch compiler shall create a separate code path if the serializer supports this feature (due to having to keep track of which arguments have been read so far and then throwing if not enough arguments have been specified).

This feature is only interesting for human readable formats (xml, json) and therefore only those serializers shall support named arguments).

Kittyfisto commented 6 years ago

The new interface shall support the serialization of messages which do not contain "by reference" types (this means only data contract and singleton are allowed). This mode is required to allow an endpoint to use the new serializer for the connection handshake (and also allows the validation interface to pass arbitrary objects instead of strings).