My MVC controller returning FileStreamresult as Image/png like below in my ajax callback function.And same need to be assigned to a <img src="Image here!!"/>. Please let me know how can i do this.
fileResult=new FileStreamResult(new MemoryStream(byte), "image/png");
You can use a controller and action to return the
FileStreamResult:And in your
imgtag you can point to that controller: