Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime error with System.Net.Http.Formatting 5.2.3 #50

Open
chriseldredge opened this issue Jun 14, 2017 · 0 comments
Open

Runtime error with System.Net.Http.Formatting 5.2.3 #50

chriseldredge opened this issue Jun 14, 2017 · 0 comments

Comments

@chriseldredge
Copy link

It appears that WebApi added an overload to WriteToStreamAsync that accepts a CancellationToken parameter. JsonpMediaTypeFormatter does not implement this overload, so the following error is thrown at runtime when attempting to serialize a response:

The media type formatter of type 'JsonpMediaTypeFormatter' does not support writing because it does not implement the WriteToStreamAsync method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant