Azure Cache for Redis is an in-memory knowledge retailer that’s used to energy quick, scalable functions. Now in preview, you’ll be able to entry all of the caches below your Azure subscriptions and look at their knowledge with the brand new Azure Cache for Redis Visual Studio Code extension.
With this new integration, you’ll be capable to use Visual Studio Code to view, take a look at, and debug your caches—in a single streamlined expertise. This extension enhances ease of growth by eliminating the necessity to manually observe connection and entry keys to connect with your caches. Merely authenticate together with your Azure account, and also you’ll immediately be capable to entry your Azure Cache for Redis situations.
This extension helps each frequent configurations—clustered and non-clustered caches, in addition to all Redis knowledge varieties, similar to strings, lists, hashes, and units. With it, you’ll be capable to filter Redis keys by match expressions. Finally, this extension offers you extra time to concentrate on growth, debugging, and testing your software in your phrases.
Set up and utilization
The Azure Cache for Redis extension might be downloaded from the Visual Studio Code Marketplace or inside Visible Studio Code by trying to find Azure Cache within the extension tab.
Market will direct you to open Visible Studio Code to put in the extension and as soon as it’s put in, it is possible for you to to see a caches dropdown below the Azure tab on the left-hand facet of Visible Studio Code. Increasing the dropdown will immediate you to log in to your Azure account.
As soon as your account is linked, you’ll see a listing of all of your Azure subscriptions. Increasing a subscription will reveal all of the Azure Cache assets belonging to it. After choosing a cache occasion, it is possible for you to to see all of the databases with knowledge in them. For a clustered cache, you’d see shards as a substitute.
From there, you’ll be able to develop a cache useful resource to view all of the keys inside it. By clicking on a Redis key identify, all its contents will open in a new editor tab. With a group kind Redis key, clicking on it would reveal the person parts below the important thing identify. Clicking the person aspect will show its contents in a new editor tab.
You may filter via the Redis keys by utilizing a match expression. For instance, filtering by the expression “key*” will show all of the keys that begin with “key.” For hash keys, you may as well filter by hash subject identify. You can even instantly choose the cache identify(s) to view cache properties similar to hostname, SKU, location, connection string, entry key, and Redis model.
For fast entry to the connection string, merely proper click on the cache identify and choose Copy Connection String.
Getting began with Azure Visible Studio Code extension
After putting in the extension and experiencing the brand new integration, try the GitHub repository to contribute to the open-source venture. In our repository you’ll be able to submit any points, characteristic requests, and bugs. As well as, you’ll be able to contribute to our repository with any bug fixes, options, or design modifications.
We sit up for collaborating with you on this open-source Visible Studio Code extension.
Additionally, be looking out for upcoming and thrilling options. We hope the brand new extension offers you a unified growth expertise that lets you code extra.
What do you consider this new extension? Leave us a review.
For another questions or suggestions on desired options in future variations, please depart your feedback beneath.