asp.net web api - Odata endpoint returning 404 bad request when the "$" in filter is encoded -
i have azure mobile service .net end.
in backend data object use proper case. example, membernumber. in azure client view models use pascal case membernumber.
i using library creates odata request , get: query specified in uri not valid. not find property named 'membernumber' on type 'arenaapi.dataobjects.members'.
that happens get: /tables/members?%24inlinecount=allpages&%24orderby=membernumber
if change membernumber works. however, also, if change request to:
/tables/members?%24inlinecount=allpages&$orderby=membernumber
it works. seems model binding parser working differently if $ encoded or not.
is there way can fix server side encoded request won't return 400 without changing membernumber membernumber?
all other stuff, posting, patching, etc binding pascal cased json post proper cased c# data objects.
Comments
Post a Comment