1

I'm migrate my project to netstandard. In one library I used Microsoft.WindowsAzure.ServiceRuntime library but I can't find analog for netstandard. I need RoleEnvironment.GetLocalResource("storage") data.

using Microsoft.WindowsAzure.ServiceRuntime;

...

LocalResource storage = RoleEnvironment.GetLocalResource("storage");
string tmpFilename = Path.GetFileName(Path.GetTempFileName());
var path = Path.Combine(storage.RootPath, tmpFilename);
Valery Yegorov
  • 171
  • 1
  • 11

0 Answers0