Questions tagged [akavache]

Akavache is an asynchronous, persistent (i.e. writes to disk) key-value store created for writing desktop and mobile applications in C#. Think of it like memcached for desktop apps.

Akavache is an asynchronous, persistent (i.e. writes to disk) key-value store created for writing desktop and mobile applications in C#. Think of it like memcached for desktop apps.

91 questions
0
votes
1 answer

Akavache init and registering a constant in Prism for DI

I am using Akavache and would like to register the constant BlobCache.LocalMachine such that when I inject IBlobCache in the constructor of my viewmodels it just picks it up. I believe the Ninject equivalent…
Reza
  • 5,314
  • 5
  • 21
  • 35
0
votes
1 answer

Problem of Xamarin.Form (ListView not refresh if binding from Akavache cache)

I met a problem with refresh list. I'm using MasterDetailPage with init default in Visual Studio 2019 (Xamarin.Forms 4.3.0.991250) & Akavache 6.6.1, has a variable is Items of type ObservableCollection. The first, i added one item to cache…
0
votes
0 answers

Accessing Akavache DatabasePath Value

In my project I am trying to use the DatabasePath value that is in my Akavache object. The odd thing is that I can only seem to see and access the DatabasePath property value during Debug mode only. I don't understand what I am doing wrong. When…
0
votes
0 answers

Using Akavache Database In Xamarin Forms Project

Using Visual Studio 2019 Xamarin Forms 4.2 .Net Standard 2.0 Framework I am working on a Xamarin Forms project in which I am using Akavache to do some caching of the data which works fine, but I also would like to use the same database that Akavache…
0
votes
2 answers

Get JSON string from Akavache

My Xamarin app has some cached objects with Akavache. For testing purposes, I'm trying to get the cached data in raw JSON string format. I've tried the following, but I'm getting a weird string: protected readonly IBlobCache cache; private void…
Elton Santana
  • 950
  • 3
  • 11
  • 22
0
votes
1 answer

Summer time not persisted

If I put a summer time date into the cache then it comes out without the summer time applied. e.g. 14:00+1 (15:00) comes back out of the cache as 14:00. In non-summer time, there's no problem. I've raised an issue on GitHub, which has been…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

Akavache not storing/returning a NodaTime LocalDateTime

I need to store a NodaTime LocalDateTime in an Akavache cache. I've created a simple app which takes the following class and stores/retrieves it in/from an Akavache cache: public class TestModel { public string Name { get; set; } …
James Lavery
  • 920
  • 4
  • 25
0
votes
1 answer

Avoiding multiple calls in observable pipeline

I am trying to create a GetAndFetch method that would first return data from the cache, then fetch and return data from a webservice, and finally update the cache. Such a function exists in akavache already, however, the data that is retrieved or…
resp78
  • 1,414
  • 16
  • 37
0
votes
0 answers

Akavache.BlobCache Ambiguous call to System.Reactive.Linq.Observable (CS0121)

In a Xamarin iOS project I am getting error CS0121 for every async use of BlobCache after upgrading from akavache 4.1.2 to the newest 6.3.2: The call is ambiguous between the following methods or properties: …
Tarostar
  • 1,196
  • 1
  • 15
  • 27
0
votes
0 answers

Is it possible to use pure functionality of sqlite-net-pcl and Akavache using it in same project?

In Akavache docs said that it's powered by SQLite. And from what I heard Akavache is quite nice tool for the key-value storage and sometimes you just don't want to store some cached data into SQL. Also, usually in mobile apps you also require some…
Agat
  • 4,577
  • 2
  • 34
  • 62
0
votes
1 answer

akavache not caching in ios simulator/device

using xamarin forms v.3.1 and akavache v5 + akavache.sqlite3 v5. in app.xaml.cs I initialized akavache BlobCache.ApplicationName = "EF_Cache"; BlobCache.EnsureInitialized(); And to cache data i use localmachine await…
Ahmed Sayed
  • 465
  • 1
  • 7
  • 24
0
votes
0 answers

Cannot AOT Akavache.Sqlite3.dll

Fine on debug, but on release I get... Error MT3001: Could not AOT the assembly Akavache.Sqlite3.dll' (MT3001) (iOS) Any ideas? Akavache.Sqlite3 is version 5.0.0. I found this from five years ago. Not sure what to make of it. EDIT: In the docs,…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

Is Akavache Secure blob genuinely secure yet on Xamarin?

This article from a quarter of a decade ago says that Akavache is insecure on Xamarin even when using the Secure container. I'm using Xamarin.Forms and I'm wondering if this is still the case.
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

Xamarin - Akavache vs Native Key-value Store such as NSUserDefaults

Both seem to be ways to store key value pairs. I am trying to decide what to use with my xamarin forms app. I would like the information saved to be available on connected devices. I see akavache states that iOS and UWP backs up to the cloud. What…
SolidSnake4444
  • 3,372
  • 6
  • 40
  • 63
0
votes
1 answer

IObservable doesnt Contain the defintion, but actualy there is the definition in there

I Try to load cached data via Akavache, but i dont know why i cant get it right. i try to get FullName and Email that i already cached after login , so i getobject in my "CachedUser" model but dont know why its says there is no definition for…
Theodorus Agum Gumilang
  • 1,414
  • 4
  • 23
  • 46