TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhijeet Panpatil
NA
95
20.7k
c# , MVC, Azure blob
Mar 20 2018 7:41 AM
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<string> blobs = new List<string>();
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
i want only "abhijeet.mp4" in output
Reply
Answers (
1
)
Cannot convert jobject element value to string
Call API with parameters in URL on Button Click