W8lessLabs.Blazor.LocalFiles icon indicating copy to clipboard operation
W8lessLabs.Blazor.LocalFiles copied to clipboard

Unable to use in server-side blazor

Open darren-zdc opened this issue 6 years ago • 1 comments

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'.

darren-zdc avatar Jan 09 '19 18:01 darren-zdc

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)

jburman avatar Jan 10 '19 22:01 jburman