Thursday, July 26, 2012

How to display an image from memory in ASP.NET MVC3

In controller:
        public ActionResult MyImage()
        {
            byte[] image = .....;
            return File(image, "image/png");
        }

In view:
<img src="@Url.Action("MyImage", "ControllerName")" alt="my image" />



http://rayaspnet.blogspot.ca/2012/06/how-to-covert-string-to-image-in-mvc.html

The circles of marketing

4circlesofmarketing
http://sethgodin.typepad.com/seths_blog/2012/07/the-circles-of-marketing.html