FileResultExecutorBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for executing a file result.
public ref class FileResultExecutorBase
public class FileResultExecutorBase
type FileResultExecutorBase = class
Public Class FileResultExecutorBase
- Inheritance
-
FileResultExecutorBase
- Derived
Constructors
FileResultExecutorBase(ILogger) |
Intializes a new FileResultExecutorBase. |
Fields
BufferSize |
The buffer size: 64 * 1024. |
Properties
Logger |
The logger to use. |
Methods
CreateLogger<T>(ILoggerFactory) |
Creates a logger using the factory. |
SetHeadersAndLog(ActionContext, FileResult, Nullable<Int64>, Boolean, Nullable<DateTimeOffset>, EntityTagHeaderValue) |
Sets etag and last modified headers. |
WriteFileAsync(HttpContext, Stream, RangeItemHeaderValue, Int64) |
Write the contents of the fileStream to the response body. |