#Redis Singleton pattern framework with StackExchange.Redis
Redis Introduction and customized framework base on StackExchange.Redis but update to using singleton pattern and JSON Configuration Mapping with Redis Instance Group and Name concept.
Please reference to Redis Tutoring of SlideShare.
##Features
- Connection Mapping with Configuration
- Configuration with Redis Instance Group and Name concept supported
- Singleton pattern avoid resource waste
##Dependency
- StackExchange.Redis
- FX.Configuration
- Newtonsoft.Json
- Log4Net(Optional)
##Setup with Dockerizing a Redis service
- Enable Virtualization Technology on Bios and install Docker Toolbox
- Create a Docker container for Redis
- Run the service
- Create your web application container
Detail Reference of Dockerizing a Redis service
####If any problem you can remove and setup again
docker-machine rm default
docker-machine --native-ssh create -d virtualbox default
##How to Use
ConnectionSetting follow StackExchange.Redis And other reference to ConfigurationOptions.Parse() of StackExchange.Redis
- Example – Basic
- Strings
- Lists
- Sets
- Hashes
- Sorted Sets
- Example – Advance
- Sort
- Expire
- HashSet, HashGetAll and HashDelete
- Pub/Sub
- Pipelines
- Batch
- Example – Scripting