I am writing an application in MVC4.
I have a physical pdf file on the server. I want to convert this to a memory stream and send it back to the user like this:
Use an overload that uses a filename, see here. It's the easiest solution when you have a physical file.