TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Is using OData\IQueryable in your Web API an inherantly bad thing?

8 pointsby roysvorkalmost 12 years ago

1 comment

NicoJuicyalmost 12 years ago
I actually used OData recently and love the query syntax. I actually see the awesomeness in it. But we should wait some time untill it gets better :-) (see the following)<p>What i hate mostly about it, is when (and this is the implementation in Web API mostly): - synchronizing with XML (jSON is the standard :-( ) - no flexibility on put &#x2F; post and patch methodes (eg. dates!) - easy a nothing object ( eg. date datetype and &lt;birthDate &#x2F;&gt; --&gt; your parameter object comes in as nothing... Also, they must use the yyyy-mm-ddThh:mm:ss format - put &#x2F; post &#x2F; patch methods and a complextype (eg. Address). GRMBL!
评论 #5938645 未加载