Skip to main content
All docs
V26.1
  • UploadConfiguration.MaxFileSize Property

    Specifies the maximum upload file size.

    Namespace: DevExtreme.AspNet.Mvc.FileManagement

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    public long MaxFileSize { get; set; }

    Property Value

    Type Description
    Int64

    The maximum upload file size.

    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