1

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 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.