I\'ve got a set of data that exists in memory in a CSV format.I have this method in my controller: public FileContentResult ItemsAsExcelExport(){
I have an image in my view, as: <img width=\"150\" height=\"150\" scr=\"@Url.Action(\"GetImage\", \"Item\")\" />
Im my asp.net mvc application I have aenclosing the thumb image of the file in an aspx page loaded in an iframe. I want to open the file with an Open/Save dialogbox. The file is uploaded to the databa
I have an action that displays a pdf public ActionResult MyPdf() { var response = pdfService.MyPdf(new PdfRequest() { SiteId = siteSession.ActiveSiteId });
I have filecontentresult from controller action method as shown ,contents is byte[] type FileContentResult file= new FileContentResult(contents, \"/PDF\");
We are using it to return a file for an export. When we run this export on a lot of records, it takes close to 10 minutes to run. Here is a code snippet of the code that actually calls the File() meth
Is there a way to stream a file using ASP.NET MVC FileContentResult within the browser with a specific name?
I\'m using this code to return a FileContentResult with an MSI file for the user to download in my ASP.NET MVC controller: