Skip to main content

Azure File System Provider

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

The Azure file system provider is an instance of the AzureFileSystemProvider class, which defines methods to get the file and folder hierarchy, and methods to edit file manager items.

ASPxFileManager_AzureFileSystemProvider

Provider Settings

Use the AccountManager.RegisterAzure method to register an Azure account in the global.asax file and then specify the following settings of the ASPxFileManager.SettingsAzure property to connect ASPxFileManager to Azure cloud storage:

ASPxFileManager allows you to perform custom actions on every request to the Azure cloud storage. To do this, handle 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");
}
See Also