Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​IFileHttpResult

Assembly: Microsoft.AspNetCore.Http.Abstractions

Defines a contract that represents the file result of an HTTP endpoint.

Properties

string
ContentType
Gets the Content-Type header for the response.
string
FileDownloadName
Gets the file name that will be used in the Content-Disposition header of the response.