Hello,
I have an mp3 file in my site. I want to output it as a view. In my controller I have:
public ActionResult Stream()
{
string file = 'test.mp3';
this.Response.AddHeader("Content-Disposition", "test.mp3");
this.Response.ContentType = "audio/mpeg";
return View();
}
But how do I return the mp3 file?
thanks