ASP.Net Web API OData - Consumers have free reign to query whatever and however they want?

后端 未结 3 2127
傲寒
傲寒 2021-01-22 21:25

I\'ve just been reading about the ASP.Net Web API support for OData queries and I\'m having trouble reconciling the external exposure for query filtering, which essentially prov

3条回答
  •  情书的邮戳
    2021-01-22 21:57

    In my opinion, this is a architectural tradeoff of using the OData query syntax. If you don't want people to have unconstrained query access, don't use it. It's the same, SQL Views versus SQL Stored procedures argument.

提交回复
热议问题