An ActionResult can return FileContentResult by specifying file path and file type based from extension definition, known as MIME type.
The MIME type can be set automatically depending on file type using GetMimeMapping method, or defined manually in proper format, e.g. "text/plain".
Sinc...