Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1442 Points
281 Posts
Microsoft
Mar 02, 2012 06:58 PM|LINK
tugberk_ugurlu_ And what is the reason of returning double?
And what is the reason of returning double?
The returned double value is used by the conneg algorithm to find the appropriate formatter to write. Its similar to how you can set the quality value in Accept header.
Kiran Challa
Participant
1442 Points
281 Posts
Microsoft
Re: MediaTypeFormatters based on QueryString or RouteData value instead of accept header
Mar 02, 2012 06:58 PM|LINK
The returned double value is used by the conneg algorithm to find the appropriate formatter to write. Its similar to how you can set the quality value in Accept header.
Kiran Challa