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

Unable to use in server-side blazor #1

Open
darren-zdc opened this issue Jan 9, 2019 · 1 comment
Open

Unable to use in server-side blazor #1

darren-zdc opened this issue Jan 9, 2019 · 1 comment

Comments

@darren-zdc
Copy link

given a error message:

System.InvalidOperationException: Cannot provide a value for property 'Http' on type 'W8lessLabs.Blazor.LocalFiles.FileSelect'. There is no registered service of type 'System.Net.Http.HttpClient'.

@jburman
Copy link
Owner

jburman commented Jan 10, 2019

Try the new 0.5.2 version of the package. This should prevent the page from crashing. You're not intending to actually load the file server side are you? (as this solution was designed for WASM only)

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