I have a '.mht' file that I need to open in the browser like a View or something like that. In my controller I return a FilePathResult with the contentType. But when I type the URL the file is download as a file of unknown type.
public ActionResult Manual()
{
return new FilePathResult("../Content/html/Manual.mhtml", "message/rfc822");
}
I tried using return File instead of return new FilePathResult but is the same result.
Thanks for the help.