public ActionResult GetImage(blah, blah) // Get the image data from the database byte[] imageData = ... // Set the mimetype appropriate for your image type. string mimeType = "..." // Return the file to the browser return File(imageData, mineType);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)