Support $format in ASP.NET Web Api

OData protocal defines $format to support different format: http://www.odata.org/documentation/uri-conventions#FormatSystemQueryOptionUser can use following URL to change the return format to json instead of setting Accept header: http://localhost/api/Values?$format=jsonHowever,

C# (772.6 KB)
 
 
 
 
 
(0)
803 times
Add to favorites
9/5/2012
E-mail Twitter del.icio.us Digg Facebook