Change Theme Settings
Change Theme Settings
Show All Themes

Upload Files to Azure

Clear selectionBrowse...

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

The DevExpress ASP.NET MVC UploadControl extension provides an ability to upload files to the most popular cloud services.

In this demo, the UploadControl'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).

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

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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxFileManagerAndUploadDemos