FileSystemConfiguration.UploadConfiguration Property

Specifies file upload configuration settings.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public UploadConfiguration UploadConfiguration { get; set; }

Property Value

Type Description
UploadConfiguration

Upload configuration settings.

Remarks

API Controller:

ArtsDBContext ArtsDBContext;
public IActionResult FileSystem(FileSystemCommand command, string arguments) {
    var config = new FileSystemConfiguration {
        UploadConfiguration = new UploadConfiguration {
            MaxFileSize = 1048576
        },
        //...
    }
}

Concepts

Online Demo

See Also