Skip to main content

UploadConfiguration Class

Provides access to the file upload configuration settings.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class UploadConfiguration

The following members return UploadConfiguration objects:

Remarks

Use the UploadConfiguration object to specify file upload configuration settings.

API Controller:

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

Concepts

Online Demo

Inheritance

Object
UploadConfiguration
See Also