Im trying to prompt a downloadable text file (.txt), but I get this error:
Cannot access a closed Stream.
I have looked at simular q
Replace the FileStreamResult type on your action with FileResult.
FileStreamResult
FileResult