I’m on a project where I need the function to delete a cloudblockblob in my Azure storage.
I allready have my cloudblockblob, but I don’t know how to delete the cloudblockblob with all his subdirectories and blobs.
This is what I’ve tried:
blockBlob.DeleteIfExists();
But I don’t think it works…
Mmm it’s fixed, I had to loop through all items in the subdirectory and than delete the subdirectory itself.. It’s solved! Thanks for viewing this question..