Hi All,
I am very new to developing services with WebAPI, and have been tasked with converting our existing ASMX service to RESTful (read it as writing a WebAPI2 layer)... :P
I have the Get method completed and returning the DataTable that is extracted from the pre-existing back-end methods. I am now trying to add pagination to it, and have been trying to enable OData querying on the method. The service is written in WebAPI2 in Asp.Net 4.7.
I have converted my method to return an IQueryable value instead of DataTable. But it still does not work. All online tutorials deal with services leveraging entity objects, but i tried to replicate the steps - with no success.
Any help is REALLY appreciated!!
Cheers!