localstorage
localstorage copied to clipboard
.Net Core 6.0 LocalStorageConfiguration (EnableEncryption), Inject LocalStorage to View
Hello, I have had several problems and I would like help to solve them
-
When I enable encryption, and I want to do a normal store, it shows me the following message "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.", but when encryption is disabled the data is stored without any problem.
-
I would like to know if it is possible to have the localstorage inside a view, I can access it through a using-inject but the drawback is that it takes it as an independent storage, it does not show the keys that were already stored.
If you could help me I would greatly appreciate it, I look forward to it.