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

Is it working across web appllications #24

Closed acrigney closed 5 years ago

acrigney commented 5 years ago

Sorry I could not get the local storage data to be read from another ASP.NET MVC web app. I guess I can debug into your code or use fiddler.

hanssens commented 5 years ago

@acrigney Not sure what the problem is, but if you can setup a simple, minimal reproducible example (for example, a test repo) I'd be happy to take a look.

acrigney commented 5 years ago

Mate its very hard to do that as I am using tihs NakedObjects framework. But I read that local storage does not work across domains AT ALL???

On Thu, Sep 20, 2018 at 10:21 PM Juliën Hanssens notifications@github.com wrote:

@acrigney https://github.com/acrigney Not sure what the problem is, but if you can setup a simple, minimal reproducible example https://stackoverflow.com/help/mcve (for example, a test repo) I'd be happy to take a look.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hanssens/localstorage/issues/24#issuecomment-423162701, or mute the thread https://github.com/notifications/unsubscribe-auth/AEUhfXnCksMRnJgUxnjW41GHfmpkahkhks5uc4hlgaJpZM4WtYWw .

hanssens commented 5 years ago

Sure, it does. If you have the .localstorage file it can be transferred and/or re-used between different .NET Core apps. However, to prevent any concurrency problems I wouldn't recommend to use it as a database storage between different apps.

acrigney commented 5 years ago

Awesome but I am working with .net 4,5,2 and4,6,1? Its just for the user winows Prinicipal, no password is stored.

On Thu, Sep 20, 2018 at 11:08 PM Juliën Hanssens notifications@github.com wrote:

Sure, it does. If you have the .localstorage file it can be transferred and/or re-used between different .NET Core apps. However, to prevent any concurrency problems I wouldn't recommend to use it as a database storage between different apps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hanssens/localstorage/issues/24#issuecomment-423176436, or mute the thread https://github.com/notifications/unsubscribe-auth/AEUhfQaH-SdibozTs-aIt4VMDroOBZcTks5uc5NTgaJpZM4WtYWw .

hanssens commented 5 years ago

Hope in the meantime you've tried it, @acrigney. But the lib targets netstandard2.0 which means it should be compatible with .NET 4.6.1 and higher.

If you have issues with it, let me know.