Also check out this blog for many samples:
Hi Jpsanders, i'm trying to port my application from .Net 4.0 (with Protobuf-net) to .Net for Metro Style App.
I know that Protobuf is not supported in Metro Style App, and i've change all SerializeAttribute with DataContract and DataMember, but a class library (Metro style app) that uses ServiceBehaviorAttribute and OperationBehaviorAttribute can't build.
How can i resolve this problem? Are that attributes already allowed?