Redis is an in-memory data structure store used as a database, cache, and message broker. This guide introduces the essential concepts and operations of Redis, including connecting to a Redis server, working with numbers, performing basic operations, and handling data structures such as lists and hashes using C# and StackExchange.Redis.
Overview
Syllabus
- Unit 1: Connecting to Redis with C#
- Connect to Redis Server and Store Data
- Store and Retrieve a Value from Redis in C#
- Handling Multiline Strings in Redis with C#
- Fix the Redis Key Retrieval Error
- Store and Retrieve String from Redis in C#
- Connecting to Redis and Managing Data in C#
- Unit 2: Working with Numbers in Redis using C#
- Working with Numeric Values in Redis using C#
- Debug and Increment Redis Key Task
- Working with Redis in C# to Set and Retrieve Numeric Values
- Connect to Redis and Manage Numeric Values
- Unit 3: Operations with Numbers in Redis Using C#
- Redis Number Manipulations in C#
- Modify Redis Operations with Decrement and Increment
- Fixing Redis Operations in C#
- Working with Redis Data in C#
- Perform Numeric Operations on Redis Keys in C#
- Unit 4: Introduction to Redis Lists Using C#
- Working with Redis Lists in C#
- Retrieving List Elements by Index in C#
- Working with Numeric Lists in Redis Using C#
- Print First Two Students from the List
- Identify and Fix the Bug in the Redis Code
- Adding and Retrieving Movies in a Redis List Using C#
- Creating and Managing a Redis List in C#
- Unit 5: Understanding Redis Hashes with C#
- Using Redis Hashes in C#
- Adding a Country Field to Redis Hash
- Retrieve Specific Redis Hash Field in C#
- Identifying and Fixing Redis Hash Retrieval Error in C#
- Storing and Retrieving Movie Details Using Redis Hashes
- Store and Retrieve Redis Hash Data in C#