Back to Devexpress

UploadConfiguration Class

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-filemanagement-20e2405e.md

latest1.5 KB
Original Source

UploadConfiguration Class

Provides access to the file upload configuration settings.

Namespace : DevExtreme.AspNet.Mvc.FileManagement

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public class UploadConfiguration

The following members return UploadConfiguration objects:

Remarks

Use the UploadConfiguration object to specify file upload configuration settings.

API Controller:

csharp
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

UploadConfiguration Members

DevExtreme.AspNet.Mvc.FileManagement Namespace