我想从我的C#代码创建新的azure redis缓存。我发现powershell命令可以做到这一点,但我不喜欢从代码运行powershell。你知道有没有不同的方法呢?
发布于 2016-01-17 10:30:07
有一个Microsoft.Azure.Management.Redis nuget package可用于管理azure redis缓存。您应该能够在C#代码中使用这个nuget包。浏览一下powershell code on github,它看起来像是azure powershell redis命令小程序在幕后引用了Microsoft.Azure.Management.Redis。
https://stackoverflow.com/questions/34836530
复制