UploadControlAzureSettings.BlobEndpoint Property
In This Article
Gets or sets the primary endpoint for the Blob service.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A String object that is the primary Blob service endpoint. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Blob |
---|---|---|
ASP. |
Upload |
|
Html |
|
|
Upload |
|
|
ASP. |
ASPx |
|
ASPx |
|
#Remarks
To connect to the Azure Storage Emulator, register the storage account in the global.asax file. For more information, refer to the Cloud Storage Account Management topic.
AccountManager.RegisterAzure("AzureEmulator", "devstoreaccount1", "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==");
Then, specify the control’s UploadControlAzureSettings.AccountName, BlobEndpoint and UploadControlAzureSettings.ContainerName options:
AzureSettings.AccountName = "AzureEmulator";
AzureSettings.BlobEndpoint = "http://127.0.0.1:10000/devstoreaccount1";
AzureSettings.ContainerName = <containername>;
See Also