Skip to main content
A newer version of this page is available. .

Azure File System Provider

Set the ASPxFileManager.ProviderType property to Azure to allow ASPxFileManager to operate with files contained in the Azure Service.

The Azure file system provider functionality is implemented by the AzureFileSystemProvider class that defines methods for getting a file and folder hierarchy, and the methods for editing file manager items.

ASPxFileManager_AzureFileSystemProvider

Provider Settings

To connect the ASPxFileManager to Azure cloud storage, register an Azure account in the global.asax file using the AccountManager.RegisterAzure method and then specify the following settings provided by the ASPxFileManager.SettingsAzure property.

The ASPxFileManager allows you to perform custom actions on every request to Azure Service by handling the ASPxFileManager.CloudProviderRequest event.

Example

<dx:ASPxFileManager ID="FileManager" runat="server" ProviderType="Azure">
    <SettingsAzure AccountName="Azure1" ContainerName="uploadcontainer" />
</dx:ASPxFileManager>

Global.asax:

void Application_Start(object sender, EventArgs e) {
    DevExpress.Web.AccountManager.RegisterAzure("Azure1", "StorageName1", "AccessKey1");
}

Online Demo

File Manager - Azure Provider

See Also