Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A Data Caching framework for Windows Phone?

I've recently started developing apps for Windows Phone 8 (I have no prior native app development experience, I'm primarily a web app developer) and I have been looking for a good HTTP caching framework for Windows Phone.

I'm working with a REST based API which returns JSON data and want to incorporate response caching with different caching policies depending on the data.

I stumbled upon AgFx which pretty much fits what I've been looking for but that was primarily for Windows Phone 7. I haven't been able to find something similar for Windows Phone 8, which works with the Portable HTTPClient library (I'm looking to reuse my code between Windows Phone and Windows 8).

I was wondering if anyone from the Stack Overflow community ever came across something which provides a flexible data caching for WP8, or if someone was ever able to port AgFx to Windows Phone 8.

like image 347
Uzair Sajid Avatar asked Oct 28 '13 11:10

Uzair Sajid


People also ask

What is caching framework?

Flow offers a caching framework to cache data. The system offers a wide variety of options and storage solutions for different caching needs. Each cache can be configured individually and can implement its own specific storage strategy.

What are the two types of caching?

L1 cache, or primary cache, is extremely fast but relatively small, and is usually embedded in the processor chip as CPU cache. L2 cache, or secondary cache, is often more capacious than L1.

Which service is used for caching data?

Amazon ElastiCache is a web service that makes it easy to deploy, operate, and scale an in-memory data store or cache in the cloud.


1 Answers

There is something similar available and it's from Q42 Take a look at the code here: https://github.com/Q42/Q42.WinRT

It's both for win rt and wp8

Also, there has been an effort to port AGFX to Win RT by Indrajit Chakrabarty ( twitter @indyfromoz ), but it wasn't as stable when I tested it...

Link for that here https://github.com/indyfromoz/AgFx

like image 192
Depechie Avatar answered Sep 18 '22 21:09

Depechie