my-Channels Nirvana – One Channel Powering HTML and Silverlight
Numerous company are supporting/using protobuf – including my-Channels Nirvana.
If you happen to have both a HTML(5) and Microsoft Silverlight RIA that both connect to my-Channels Nirvana you probably don’t want to setup separate channels to push data to the different RIA’s – separate channels as in one sending JSON for HTML(5) and the other sending appropriate Data Transfer Objects (DTOs) for Silverlight. Enter protojs which offers the ability to leverage protobuf in JavaScript, and likewise using protobuf-net for Silverlight/.NET.
Leveraging Cygwin you can build the protojs tool, and then generate the appropriate code from the .proto files:
./pbj.exe path/to/proto.proto path/to/output.cs
