This project is read-only.

Creating Custom header type

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


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.



Sundarram. R