Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC 4 WebApi with PowerPivot?

Does anyone know if MVC 4 WebApi can (or will) be consumable in power-pivot?

like image 847
cmilhench Avatar asked May 31 '12 13:05

cmilhench


2 Answers

Web API itself does not have built-in support for exposing endpoints in the OData format. We are planning on adding OData support via an add-on that will ship in the future.

like image 147
marcind Avatar answered Nov 19 '22 17:11

marcind


I think if you expose an IQueryable<T>, it exposes it as a OData feed.

I found this.

http://codebetter.com/johnvpetersen/2012/03/22/bringing-odata-to-your-webapi-just-use-iqueryable/

like image 38
Daniel A. White Avatar answered Nov 19 '22 17:11

Daniel A. White