Search code examples
c#unit-testingazureazure-compute-emulator

Resetting the Azure Development Storage


In Azure Development Storage's UI, there's a Reset button which stops, wipes, and restarts the devstore. Is there a programmatic way of doing this, similar to how I can stop and start the storage using

DevStore.Shutdown();

Solution

  • While I haven't reset the devstore programmatically, I suppose you could shell out to DSInit.exe programmatically:

    DSInit /ForceCreate