UploadConfiguration.ChunkSize Property
In This Article
Specifies a chunk size in bytes.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public int ChunkSize { get; set; }
#Property Value
Type | Description |
---|---|
Int32 | A chunk size. |
#Remarks
The FileManager can divide a large file in parts and upload them in separate requests.
API Controller:
C#
ArtsDBContext ArtsDBContext;
public IActionResult FileSystem(FileSystemCommand command, string arguments) {
var config = new FileSystemConfiguration {
UploadConfiguration = new UploadConfiguration {
ChunkSize = 10000
}
//...
}
}
#Concepts
See Also