This project is read-only.

OData Server Driven Paging

Topics: Web Api
Nov 2, 2011 at 6:06 AM

If I turn on IQueryable for my collections returned from my Web Api, how do I turn on server driven paging?

In ADO.NET Data Services I would have done something like:

config.SetResourceSetPageSize("Customer", 25);

See here:

Basically, I just want to know how to place default limits on the results in case a consuming client doesn't specify any paging directives.

Thanks in advance!