WebApiContrib/WebApiContrib.Formatting.ProtoBuf — pull request #1 by filipw (2013-02-17 15:00:29+00:00)
Title: RuntimeTypeModel exposed as public & lazy

Changed RuntimeTypeModel to be public. It is common in ProtoBuf usage to precompile types, which was not possible with the previous solution. Now you can something like that from for example global config:

ProtoBufFormatter.Model.Add(typeof(MyType),false);
ProtoBufFormatter.Model.Compile();

Additionally made it Lazy so that the formatter can be added to formatters collection without much footprint. Also removed dependency on JSON.NET (not used in this project at all).