- Home
- Forum
- ASP.NET Core - EJ 2
- Comprehensive Sample with OData and Web Api
Comprehensive Sample with OData and Web Api
Hi guys,
I'm wondering if there's a comprehensive sample that includes CRUD and Batch operations using Web Api and OData (preferably ASP.NET Core). I've been able to figure out the basics but I think it took me longer than it should have. I'm now trying to figure out batch operations and how those work with DataManager and I'm getting to the point of pulling my hair out.
I get that OData and Web Api are not really in the Syncfusion domain. However, the documentation for using EJ2 components with OData is pretty spotty and hard to navigate. I also think that Web Api and OData hit a sweet spot when developing with Syncfusion data components. A great sample would go a long way toward making the 3 technologies easier to integrate.
Thanks!
-k
SIGN IN To post a reply.
5 Replies
MS
Manivel Sellamuthu
Syncfusion Team
March 31, 2020 01:46 PM UTC
Hi Kelly,
Thanks for your interest in Syncfusion products.
Unfortunately we don’t have support for WebApi datamanger with batch editing. We have logged an feature task for this, which can be tracked from the below feedback link
Feedback link : https://www.syncfusion.com/feedback/2373/batch-handler-support-for-asp-net-core-while-using-webapi-adaptor
Please get back to us, if you need further assistance.
Regards,
Manivel
KH
Kelly Harrison
April 3, 2020 09:30 AM UTC
It does actually work for ASP.NET Core WebApi using OData, as long as batch support has been added to the OData project in Visual Studio. Using an ej2 grid in batch mode produces the right OData calls and the WebApi OData pipeline handles it correctly. I haven't figured out how to do it with just a datamanager but the grid support is enough for me at this point.
MS
Manivel Sellamuthu
Syncfusion Team
April 6, 2020 08:58 AM UTC
Hi Kelly,
Thanks for your update.
We would like to inform you that, we do not have support for DataManager to handle Batch actions in ASP.NET Core. For that we have logged the above feature request.
Please find the below documentation link to know about the available adaptors.
Please get back to us, if you need further assistance.
Regards,
Manivel
KH
Kelly Harrison
April 7, 2020 01:43 PM UTC
You keep saying "ASP.NET Core". I'm talking about OData. The fact that it's implemented using WebApi isn't really relevant.
MS
Manivel Sellamuthu
Syncfusion Team
April 9, 2020 08:48 AM UTC
Hi Kelly,
Sorry for the inconvenience caused.
In our previous update we have incorrectly updated ASPNET CORE instead of OData.
In EJ2 Grid all data operations will be performed through DataManager only. DataManager have support for various adaptors such as Url adaptor, RemoteSave adaptor, WebMethodAdaptor, webApi adaptor..,etc.
In that adaptors DataManager have support for handling batch actions for adaptors such as Url and RemoteSave adaptors. But currently there is no support for DataManager to handle batch actions with webApi adaptor and OData Adaptor. For that we have logged the feature request.
Please let us know if you need any further assistance.
Regards,
Manivel
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
KH Kelly Harrison
- Mar 30, 2020 06:47 PM UTC
- Apr 9, 2020 08:48 AM UTC