Closed YodasMyDad closed 6 years ago
@YodasMyDad Sorry, it doesn't work that way. Given a quote:
LocalStorage for .NET is inspired by – but totally unrelated to – Javascript’s localStorage; a temporary caching lib for low-demanding data needs.
You'll find the results from your sample in the .localstorage
file in the root of your .NET project, instead of in the browser. Again, in short, it has nothing to do with your browser's localStorage, other than being inspired by it.
Hola comunidad, de antemano gracias por la atención, efectivamente persist(), garantiza la persistencia de la variable, ahora se presenta este error en mi site de producción, ( "Message": "Access to the path 'C:\inetpub\wwwroot\WebApiClubVivamos\.localstorage' is denied." ), Existe alguna recomendación para solucionarlo ?
Maybe this is me, I have installed the Nuget package and setup a test on the page (See Below).
This seemed to pull the data back out with no issues. However, if I look in in Local Storage in Chrome Inspector it's not in there. And if I refresh the page, it cannot get it back out. I then tried this.
I then found your blog. And changed the code to this as a test
But still. No data is persisted? What am I missing? I assumed this was just install and go? And it stored the data in Local Storage?