VNVignesh Natarajan Syncfusion Team November 7, 2019 12:24 AM
Hi Ebi Torabi,
Thanks for contacting Syncfusion forums.
Query: “the data is displayed in grid”
We have analyzed your code example and we suspect that you are facing Camel Case issue in Asp.Net Core. Normally, ASP.NET Core 1.0+ framework has camel casing issues while serializing the JSON Object. If you are facing the same camel casing issue while running the sample then please use the below codes in Startup.cs file to overcome that casing issue in Application level.
In the below code, we have called the ContractResolver options under the Startup.cs file to avoid camel casing conversion during the serialization process. The is related to ASP.NET Core specifics and we suggest refer to the following article which describes how to overcome a similar issues.
If you are not facing the camel case issue or above solution does not resolve your query, kindly get back to us with details regarding the data returned from server (console -> network tab -> response window screenshot).
Regards, Vignesh Natarajan
ETebi torabiNovember 7, 2019 04:05 AM
Hi Unfortunately, it doesn't work on the Hosted core. Please give an example in Hosted core.
VNVignesh Natarajan Syncfusion Team November 8, 2019 05:13 AM
Query: “Hi Unfortunately, it doesn't work on the Hosted core. Please give an example in Hosted core.”
As per your request, we have prepared a Hosted application in .Net Core 3.1 Preview 1 using our latest version Nuget package (188.8.131.52-beta). We are able to bind data properly from WebAPI controller to Grid. Kindly download the sample from below.