UploadControlAzureSettings.BlobEndpoint Property
Gets or sets the primary endpoint for the Blob service.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | 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 BlobEndpoint |
---|---|---|
ASP.NET Web Forms Controls | ASPxHtmlEditorUploadSettingsBase |
|
ASPxUploadControl |
|
|
ASP.NET MVC Extensions | UploadControlBinderSettings |
|
HtmlEditorFileSaveSettings |
|
|
UploadControlSettings |
|
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