Protobuf-Net and WCF Web Apis

I have not used wcf web api. Glenn Block’s demo on MIX11 looks very good, so I will definitely study it in depth.

At the same time, I want to know how it can be used with protocol buffers (mainly for performance reasons). Our idea is to build an application/x-protobuf MIME type (or equivalent).

I think We can:

>Get rid of soap-based attributes
> define a custom media type processor to serialize/deserialize messages using protobuf-net

Do you think that will is that useful?

As a person familiar with protobuf-net, honestly, I have not tried this Method, but looking at that blog post looks encouraging. If it works, I would be happy to add support for the core library (at least version 3.0).

I realize this is not a The real answer, but I don’t understand why it shouldn’t, because it unfreezes it for BSON.

I haven’t used wcf web api. Glenn Block is on MIX11 The demo looks pretty good, so I will definitely study it in depth.

At the same time, I want to know how it can be used with protocol buffers (mainly for performance reasons). The idea is to create an application/x-protobuf MIME type (or equivalent).

I think we can:

>Get rid of soap-based attributes
> define a custom media type The processor uses protobuf-net to serialize/deserialize messages

Do you think that will be useful?

As a person who is very familiar with protobuf-net, honestly, I have not tried this method, but looking at that blog post seems to make Encouraging. If it works, I would be happy to add support for the core library (at least version 3.0).

I realize this is not a real answer, but I don’t understand why it shouldn’t Because it unfreezes it applies to BSON.

Leave a Comment

Your email address will not be published.