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
Dileep Singh
NA
46
8.1k
Create object URL for the FileContent in MVC Core 3.0
Feb 28 2020 1:54 AM
This my API..
[HttpGet]
public
IActionResult Get()
{
Byte[] b = System.IO.File.ReadAllBytes(@
"E:\\Test.jpg"
);
// You can use your own method over here.
return
File(b,
"image/jpeg"
);
}
i m getting responce as File,, I am reading this responce as
var responce = request.Content.ReadAsByteArrayAsync().Result;
i want ot create Object url for this in mvc controller and wanted to set objUrl to src of image tag in View
Reply
Answers (
4
)
following is my api , is enumerable i s better than list etc
text to speech conversion open source dll