You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Either the docs or the nuget package, is missing a dependency on System.Text.Json. The app will crash if I don't add the nuget package manually.
To Reproduce
Steps to reproduce the behavior:
Create new blazor server template.
Follow steps on docs to get setup and set a value in local storage. Btw, the docs still have the @function directive instead of @code
You get an error as soon as the first call to local storage happens.
Expected behavior
Preferably, this package should pull in System.Text.Json automatically.
Hosting Model (is this issue happening with a certain hosting model?):
Blazor Server
The text was updated successfully, but these errors were encountered:
Hi @Siphonophora, thanks for spotting the issue in the readme, I've now updated it.
In terms of the dependency issue, I can't replicate it. I've created a new Blazor Server app and copied the instructions exactly as they are written in the readme and everything worked as expected. I've double-checked this on another Windows machine and on my MacBook just to make sure it wasn't something odd happening across OSs.
Could you try again and if possible on a different machine to see if this is a local issue?
Describe the bug
Either the docs or the nuget package, is missing a dependency on System.Text.Json. The app will crash if I don't add the nuget package manually.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Preferably, this package should pull in System.Text.Json automatically.
Hosting Model (is this issue happening with a certain hosting model?):
The text was updated successfully, but these errors were encountered: