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.

85 questions
0
votes
0 answers

akavache "Unable to reset abort because no abort was requested"

I have a problem with akavache, when I try to put something on the blob, I have an error : "Unable to reset abort because no abort was requested" I see on the debugger that is Blob.LocalMachine value is : ThreadStateException "Unable to reset abort…
nicar
  • 127
  • 1
  • 11
0
votes
2 answers

Set Akavache BlobCache storage path other than default path

I have a requirement where I need to set the BlobCache path to other than default path's. By default its saving under below paths C:\Users\XXX\AppData\Local\AkavacheApp\BlobCache C:\Users\XXX\AppData\Roaming\AkavacheApp\BlobCache But I want it to…
Y Ravi
  • 9
  • 1
0
votes
2 answers

BlobCache.UserAccount cloud syncronize on Android

I am trying to understand BlobCache.UserAccount option using akavache. So far I could successfully implemented BlobCache.LocalMachine which works only offline. Accoridng to akavache documentation; Xamarin.iOS will may remove data, stored in…
Emil
  • 5,290
  • 6
  • 47
  • 87
0
votes
1 answer

Use data inside BlobCache.LocalMachine.GetObject("Key");

I am using xamarin.forms. I am trying to insert data in caches. var getData = JsonConvert.DeserializeObject(Respone); await BlobCache.LocalMachine.InsertObject("RsponseData",getData); And then I try to get cached data. var data =…
Ahmed Sayed
  • 415
  • 1
  • 7
  • 22
0
votes
1 answer

Akavache always calling the fetchFunc

I have the following code using Akavache in a Xamarin app and it's not behaving the way I would think it should. Probably my misunderstanding of how it should be but it's driving me crazy. So in my viewmodel I'm making the call to…
Richard Edwards
  • 1,309
  • 1
  • 16
  • 27
0
votes
1 answer

Akavache GetAndFetchLatest never fetches latest if a cached value exists

I'm trying to use the Akavache GetAndFetchLatest method in Xamarin.Forms project but it's not working as I expected and was hoping someone would be able to spot where I'm going wrong. I'm calling the method like…
0
votes
2 answers

How to ignore non-serializable properties from being cached using Akavache?

I have a custom class to be cached using Akavache. This class contains one non-serializable property (it's a ParseFile object). When I try to cache/get a list of this custom class using GetAndFetchLatest, it doesn't work. I figure it may be caused…
Nik A.
  • 373
  • 3
  • 13
0
votes
3 answers

ReactiveList.AddRange not working for large collections

I have a simple TableView that displays a list of strings downloaded from the network. The list is very large (~140k strings). Using AddRange and nothing is happening, but if I statically code a small 2-item list, it works fine. Code for reload…
Cory Juhlin
  • 324
  • 4
  • 9
-1
votes
1 answer

Xamarin.Forms - Android Activity with async OnCreate method

I'm running into the questions if it's a problem to mark FormsAppCompatActivity.OnCreate(Bundle bundle) as async? I have to fetch user-specific data from an AWS DynamoDB, and I need to retrieve the user from the Akavache cache before in order to…
-2
votes
1 answer

Calling Akavache synchronously causes deadlock

I am trying to use Akavache's BlobCache.InMemory.GetOrCreateObject to add caching to one of my database table, when I call it asynchronously, everything is fine. But since async requires caller to change to async as well and there are a lot of…
imgen
  • 2,357
  • 6
  • 36
  • 59
1 2 3 4 5
6