Skip to main content
Tab

AccountManager.RegisterAzure(String, String, String) Method

Registers an Azure cloud storage account.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static void RegisterAzure(
    string name,
    string storageAccountName,
    string accessKey
)

Parameters

Name Type Description
name String

A string value that specifies the account name.

storageAccountName String

A string value that is the storage account name.

accessKey String

A string value that is the access key.

Remarks

<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");
}

Concept

See Also