Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceUrl="weatherforecast" from the getting started sample is not working #44

Closed
afofanov opened this issue Aug 30, 2021 · 5 comments
Closed

Comments

@afofanov
Copy link

No description provided.

@Akinzekeel
Copy link
Owner

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?

@afofanov
Copy link
Author

afofanov commented Aug 31, 2021 via email

@Akinzekeel
Copy link
Owner

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.

@afofanov
Copy link
Author

afofanov commented Aug 31, 2021 via email

@Akinzekeel
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants