Project Description
Amba.KeyValueStorage provides simplest key value storage based on Orchard Records.
For example, this module can be used to store user UI settings.

You can access to KeyValue storage by using REST API, or from code by using IKeyValueStorageService:

public interface IKeyValueStorageService
        string Get(string key);
        void Set(string key, string value);
        string GenerateKey();

REST API supports anti-forgery, so API contains three methods:

amba.kvs/token - to get anti-forgery token
amba.kvs/set - to set key-value pair. If key was not set module generates key and returns it.
amba.kvs/get - to get value by key

Sample usage see here:

Last edited Feb 24, 2013 at 9:39 AM by musukvl, version 5