have you looked at other answers on this site? Like this one http://stackoverflow.com/a/9549889/333082
– cecilphillipFeb 19 '14 at 20:45
It seems like that it does not work. I am putting the address in browser and it is throwing a 500 exception. How do I test if it is working?
– Musfiqur rahmanFeb 19 '14 at 20:53
possible duplicate of [Returning binary file from controller in ASP.NET Web API](http://stackoverflow.com/questions/9541351/returning-binary-file-from-controller-in-asp-net-web-api)
– Rafael EmshoffAug 17 '15 at 12:33