I want to create new azure redis cache from my C# code. I found powershell commands that can do that but I prefer not to run powershell from code. Do you know if there is a different way to do it?
1 Answer
There is a Microsoft.Azure.Management.Redis nuget package available for managing azure redis cache. You should be able to use this nuget package in your C# code. Browsing through the powershell code on github, it looks like the azure powershell redis commandlet references Microsoft.Azure.Management.Redis under-the-hood.