Creating Custom header type

Topics: Web Api
Jul 5, 2011 at 2:40 PM

Hi,

I need to have a custom media type formatter for my rest service. 

i.e. application\myheader-name+xml

or application\myheader-name+json

Can you please advice how to implement these custom media type in WCF 2010. Provide sample code if possible.

 

Regards

Sundarram. R