Back to Devexpress

Custom File System Provider

aspnet-9907-components-file-management-file-manager-concepts-file-system-providers-custom-file-system-provider.md

latest1.7 KB
Original Source

Custom File System Provider

  • Nov 29, 2023
  • 2 minutes to read

ASPxFileManager allows you to implement your own custom file system provider.

Follow the steps below to create a custom provider.

  1. Create a custom provider class that is inherited from the base FileSystemProviderBase class or from one of its ancestors.

  2. Implement the required virtual methods in your class. If you inherit from FileSystemProviderBase, you must implement the following methods:

  3. Use the ASPxFileManager.CustomFileSystemProvider or ASPxFileManager.CustomFileSystemProviderTypeName property to assign your provider class to ASPxFileManager.

  4. Set the ASPxFileManager.ProviderType property to Custom to use a custom provider in ASPxFileManager.

View Example: ASPxFileManager - How to implement a LINQ to SQL based file system provider

Online Blogs

ASP.NET File Manager - Create A Custom File System Provider

See Also

File System Providers