I'm try to display the name of the blobs store in container.
I tried the following.
public ActionResult ViewComedyMovies()
{
CloudBlobContainer blobContainer = _blobStorageService.GetCloudBlobContainer();
List blobs = new List();
foreach (var blobItem in blobContainer.ListBlobs())
{
blobs.Add(blobItem.Uri.ToString());
}
return View(blobs);
}
But it gives the storage uri as output:-
- https://moviestarstorage.blob.core.windows.net/comedy-movies/abhijeet.mp4
Jaish MathewsPosted Mar 20, 2018, 12:47 PM