question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SUGGESTION] I wish to have a feature for handling LiteDb with Isolated Storage

See original GitHub issue

Is your feature request related to a problem? Please describe. I wish to store some information where I believe IsolatedStorage is the best candidate. The dotnet API does not provide a full path for the IsolatedStorage file where we can pass it to LiteDb to store the database (with reflection its possible, however it is a hack and not a perfect solution I believe).

Describe the solution you’d like I would like a constructor which accepts IsolatedStorageFile instance and with the other options like Password and other connection string options we can pass.

Describe alternatives you’ve considered I tried it with the hack and was not satisfied with the flow of the code, for just getting a field, I had to use reflection, and it is internal which may get renamed anytime.

Additional context I would be happy if there is another constructor overload with the options mentioned above.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pankaj-nikamcommented, May 21, 2020

Agree with you @quicksln. Its good to make an extension method.

1reaction
quickslncommented, May 21, 2020

@lbnascimento good point with adding log file stream, @pankaj-nikam hope you find this useful.

Defiantly it’s good candidate for extension method inside individual project 😃

Regards Piotr

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alarming Performance when using LiteDB for simple ...
I had a requirement for a certain application where a large number of messages will be received and they need to be stored....
Read more >
What's the "Core" way to save user settings? : r/csharp
So I'm not a desktop dev, and this isn't the "core" way, but I would use LiteDB. Super lightweight nosql database, a single...
Read more >
Ask HN: Have you used SQLite as a primary database?
SQLite is fine when all your load can be served by a single backend process on a single machine. The moment you need...
Read more >
FileStorage - LiteDB :: A .NET embedded NoSQL database
For this reason, LiteDB implements FileStorage , a custom collection to store files and streams. FileStorage uses two special collections: The ...
Read more >
LiteDB vs PostgreSQL | What are the differences?
LiteDB - A .Net NoSQL Document Store in a single data file. PostgreSQL - A powerful, open source object-relational database system.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found