VirtualFileResult Class (Microsoft.AspNetCore.Mvc)

A FileResult that on execution writes the file specified using a virtual path to the response using mechanisms provided by the host.