Code is written in the Sample should be corrected from
IDatabase cache = lazyConnection.Value.GetDatabase();
To
IDatabase cache = lazyConnection.GetDatabase();
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@hifni Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@yegu-ms Please confirm if we have to create a PR for this.
@hifni Thank you for pointing this out!
@NavtejSaini-MSFT We already fixed this in the doc.