Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Odata Support for Custom WCF SharePoint Service

$
0
0

Hi,

I've developed a custom SharePoint service (in ISAPI which is accessible via _vti_bin).

Previously this web service wasn't implementing OData (only REST). I changed the factory to MultipleBaseAddressDataServiceHostFactory and the return type of my get methods to IQueryable<T>.

That usually does the trick with WebAPI (the IQueryable thing) but I guess that's because something in WebAPI's stack implements the OData Provider for my IQueryables and intercepts the requests.

I thought SharePoint 2013 could do the same but obviously it is not the case.

I think I'm missing something but I don't know exactly what.

Last precision my data doesn't come from a SQL database so I don't have and entity framework data context and therefore I can't use WCF Data Services.

Any idea of what I'm missing here?

Thanks for your help!


Cya


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>