hanssens / localstorage

LocalStorage for .NET - A simple and lightweight tool for persisting data in dotnet (core) apps.
MIT License
74 stars 17 forks source link

.Net Core 6.0 LocalStorageConfiguration (EnableEncryption), Inject LocalStorage to View #45

Open adderlinho opened 2 years ago

adderlinho commented 2 years ago

Hello, I have had several problems and I would like help to solve them

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

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