Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 21, 2012 04:15 PM by Christian.Weyer
Feb 18, 2012 06:44 PM|LINK
I wonder how we can support JSONP with ASP.NET Web API. Do we have any out of the box implementation for this?
Feb 19, 2012 12:05 AM|LINK
We do not have a JsonpMediaTypeFormatter out of the box for beta -- you'll need to write a custom MediaTypeFormatter. The implementation should be very similar to the one we shipped on the enhancement branch on codeplex:
Feb 19, 2012 09:27 AM|LINK
Nice! I'll have a look. Thanks!
Feb 20, 2012 09:14 PM|LINK
Do you have an ETA of when jsonp will be supported? It's a bummer not to see this here given this is suppose to be the new version yet a lot of features are missing.
Feb 21, 2012 04:15 PM|LINK
You may want to try the simple JSONP handler contained here: