Exercise 2: Manipulating Data in Azure Cache from the Console
To get a better understanding of how caches manage different data types, the best option is to try to execute commands from the console and observe the results. To run these commands, you need to open the console in the Azure portal and execute the commands one by one.
To get connected from redis-cli
, you need to provide a name for your Azure cache instance and the access keys for the connection. To run the Redis console from the browser, you can open the Azure portal, find the instance you built from the previous demo, and select the Overview section. At the top of the page, under the name of your cache instance, you can find the Console icon to run the console. The complete list of commands can also be found here: https://packt.link/pFH2Y
Note
Run the following commands from the cache console.
- The following command sets the client and should return
OK
:set client TheCloudShops
- The following should return...