Print Page | Close Window

Server side Odata support

Printed From: IdeaBlade
Category: Breeze
Forum Name: Community Forum
Forum Discription: Build rich JavaScript apps using techniques you already know
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3652
Printed Date: 25-Apr-2024 at 8:05am


Topic: Server side Odata support
Posted By: Chrizy
Subject: Server side Odata support
Date Posted: 23-Sep-2012 at 8:21am

Firstly congratulations on what looks like a promising library.

Now that Web API is getting Odata support, will there still be a need in the future to always use Breeze.WebApi.dll on the server? or to put it another way will the Breeze client work with any Odata source?

If Breeze.WebApi.dll is required on the server will that also support the Odata spec? Allowing non breeze client’s to access the server API via Odata.

Thanks
Chris




Replies:
Posted By: jtraband
Date Posted: 24-Sep-2012 at 11:16am
If you are using OData you do not need the Breeze.WebApi dll on the server. Two caveats for now.
1) Currently Breeze only supports reading OData feed ( no saves yet); they are coming but just not yet.
2) We have extended the OData syntax in a couple of areas to support nested projections and named server side queries. Queries that use this syntax will only work with the WebApi provider. This is because OData itself simply doesn't support these operations.



Print Page | Close Window