问题
How does asp.net mvc fit with Jaydata? Being that Jaydata is a javascript based query language than asp.net mvc and jaydata are not used together? i.e. with controllers and so on?
Thanks
回答1:
ASP.NET MVC 4 with the webAPI can mimic the data output like OData
http://jaydata.org/tutorials/how-to-build-a-simple-odata-based-ajax-application
with webapi you have far more control over how the data is output .
The problem is that some of the advanced querying has been put on hold while dev is ongoing ... the nightly builds still dont have it in quite yet.
start here: http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api and it might work for what you need right away
来源:https://stackoverflow.com/questions/11422245/asp-net-mvc-with-jaydata