Back to Devexpress

AccountManager.RegisterAzure(String, String, String) Method

aspnet-devexpress-dot-web-dot-accountmanager-dot-registerazure-x28-system-dot-string-system-dot-string-system-dot-string-x29.md

latest2.0 KB
Original Source

AccountManager.RegisterAzure(String, String, String) Method

Registers an Azure cloud storage account.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public static void RegisterAzure(
    string name,
    string storageAccountName,
    string accessKey
)
vb
Public Shared Sub RegisterAzure(
    name As String,
    storageAccountName As String,
    accessKey As String
)

Parameters

NameTypeDescription
nameString

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

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

Global.asax:

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

Concept

See Also

AccountManager Class

AccountManager Members

DevExpress.Web Namespace