Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

File Upload to Azure

Clear selectionBrowse...
Upload


Allowed file extensions: .jpg, .jpeg, .gif, .png.
Maximum file size: 4 MB.

Uploaded files

The DevExpress ASP.NET Upload Control (ASPxUploadControl) allows you to upload files to the most popular cloud services.

In this demo, the Upload Control's UploadStorage property is set to Azure. To connect the ASPxUploadControl to Azure cloud storage, register an Azure account in the global.asax file using the RegisterAzure method and then specify the following settings provided by the AzureSettings property.

  • The AccountName: Specifies the name of an Azure account.
  • The ContainerName: Specifies the name of the current container (blob storage).

When using the Azure Service, a file can be accessed by its key name, which is returned by the FileNameInStorage property of the UploadedFile object.


See Also:
Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxFileManagerAndUploadDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxFileManagerAndUploadDemos