Reply
Topic Options
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe to Topic
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-16-2019
07:15 AM
Azure Redis Cache - Setting up Cache item using PowerShell
We can store and retrieve cache items with the help of .NET StringSet and StringGet methods.
Storing Cache Item:
this.Cache.StringSet(“ProductName”, “Apple”, TimeSpan.FromMinutes(90));
Getting Cache Item:
var value = this.Cache.StringGet(“ProductName”);
Question :
- Can we stored and retrieved Cache items using PowerShell as an alternative to .NET methods ?
If yes – Kindly provide sample example.
Labels:
- Labels:
-
Azure
-
Azure Marketplace
-
Azure Storage
0 REPLIES 0
