A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Maybe this thread in stackoverflow could have your answer: http://stackoverflow.com/questions/3206682/stream-file-using-asp-net-mvc-filecontentresult-in-a-browser-with-a-name
Hi,
Would anyone have a controller example that prompts for a file download from a string? I'm trying function that returns a System.Web.Mvc.FileContentResult, but the contents get displayed in the gadget instead of getting downloaded.
Here is the return line of the function:
Thanks,
Brad