PhysicalFileSystemProvider.UploadFile(FileSystemUploadFileOptions) Method

Uploads a file.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll


public virtual void UploadFile(
    FileSystemUploadFileOptions options


Name Type Description
options FileSystemUploadFileOptions

Options related to the operation.


The following example illustrates how to overwrite the UploadFile method.

Refer to the Azure Server-Side Binding online demo to get the whole example code.

public void UploadFile(FileSystemUploadFileOptions options) {
    string destinationKey = $"{options.DestinationDirectory.Path}/{options.FileName}";
See Also