IFileUploader Interface
Provides APIs to upload files to a file system.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public interface IFileUploader
Remarks
Assign a custom class that implements the IFileUploader interface to the FileSystemProvider property to enable a custom file system provider to upload files to a file system.
Controller:
public object FileSystem(FileSystemCommand command, string arguments) {
var config = new FileSystemConfiguration {
FileSystemProvider = MyFileSystemProvider,
//...
}
}
Provider:
public class MyFileSystemProvider : IFileUploader {
public void UploadFile(FileSystemUploadFileOptions options) {
// your code
}
}
Concepts
Online Demo
See Also