But now it seems that the custom formatter is not getting called. What is the format that I could set so that the content type will be recognized? It seems that another formatter is being called. I have set Accept to XML so maybe the XML serializer is called but it only serializes partially? I have set a breakpoint in my custom formatter and not only is this breakpoint not getting hit but values that I set in the custom formatter are not showing up in the controller.
Kevin Burton
Member
79 Points
66 Posts
Media type name and a custom formatter.
Mar 15, 2012 08:51 PM|LINK
this.SupportedMediaTypes.Add(new MediaTypeHeaderValue("application/x-www-form-urlencoded; charset=utf-8"));rkevinburton@charter.net
kevin_burton@baxter.com