Returning Images from ASP.NET Web API

Posted by bipinjoshi on ASP.net Weblogs See other posts from ASP.net Weblogs or by bipinjoshi
Published on Tue, 02 Jul 2013 02:28:00 GMT Indexed on 2013/07/02 5:05 UTC
Read the original article Hit count: 258

Filed under:
|
|

Sometimes you need to save and retrieve image data in SQL Server as a part of Web API functionality. A common approach is to save images as physical image files on the web server and then store the image URL in a SQL Server database. However, at times you need to store image data directly into a SQL Server database rather than the image URL. While dealing with the later scenario you need to read images from a database and then return this image data from your Web API. This article shows the steps involved in this process.

http://www.bipinjoshi.net/articles/4b9922c3-0982-4e8f-812c-488ff4dbd507.aspx

© ASP.net Weblogs or respective owner

Related posts about ASP.NET

Related posts about ASP.NET MVC