-
-
Notifications
You must be signed in to change notification settings - Fork 7
SourceUrl="weatherforecast" from the getting started sample is not working #44
Comments
I assume you are referring to the WebAssembly tutorial since I haven't got around to writing the one for Server-Side yet. Looking at the docs, perhaps the SourceUrl is missing the /api (so it should be /api/weatherforecast instead of just weatherforecast). Could you try that and report back please? |
Hi Majid,
It looks like SourceUrl is not working at all, but I was able to modify
Custom Provider to work with backend.
Something strange happening, somehow can't get data out off
BlazorGridResults<T>. Always getting a result structure with total count 0,
and Data list empty.
I thought if you can show working server side Employee controller I can see
if I'm doing it correctly.
Thank you,
Art
…On Mon, Aug 30, 2021 at 6:12 PM Majid Iqbal ***@***.***> wrote:
I assume you are referring to the WebAssembly tutorial since I haven't got
around to writing the one for Server-Side yet.
Looking at the docs, perhaps the SourceUrl is missing the /api (so it
should be /api/weatherforecast instead of just weatherforecast). Could you
try that and report back please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGQOUWIWODEX5Y6PVA66QJDT7P66RANCNFSM5DCOD76A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks for bringing this to my attention. I almost forgot it, but yes the SourceUrl has no effect. This was used in an earlier version of BlazorGrid, however the most recent version dropped the SourceUrl parameter in favor of a Provider delegate (similar to the Virtualize component's ItemsProvider). This is so that BlazorGrid has no dependency on Json and you are free to use any other method of transport such as gRPC instead. I will be correcting this in the documents soon. In the mean time, if you can share your code I'll be happy to help. |
Great, thanks!
…On Tue., Aug. 31, 2021, 12:52 p.m. Majid Iqbal, ***@***.***> wrote:
Thanks for bringing this to my attention. I almost forgot it, but yes the
SourceUrl has no effect. This was used in an earlier version of BlazorGrid,
however the most recent version dropped the SourceUrl parameter in favor of
a Provider delegate (similar to the Virtualize component's ItemsProvider).
This is so that BlazorGrid has no dependency on Json and you are free to
use any other method of transport such as gRPC instead.
I will be correcting this in the documents soon. In the mean time, if you
can share your code I'll be happy to help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGQOUWPBDBZ4C4E7JSPRGM3T7UCEXANCNFSM5DCOD76A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I've just updated the Getting Started page. Please have a look and feel free to open a new issue if you run into any problems. |
No description provided.
The text was updated successfully, but these errors were encountered: