Back to Devexpress

AzureReportDesignerContainer.UseAzureEnvironment(String) Method

xtrareports-devexpress-dot-xtrareports-dot-web-dot-azure-dot-reportdesigner-dot-azurereportdesignercontainer-dot-useazureenvironment-x28-system-dot-string-x29.md

latest3.4 KB
Original Source

AzureReportDesignerContainer.UseAzureEnvironment(String) Method

Enables the Web Report Designer to store information about data connections in an Azure Table storage.

Namespace : DevExpress.XtraReports.Web.Azure.ReportDesigner

Assembly : DevExpress.XtraReports.v25.2.Web.Azure.dll

NuGet Package : DevExpress.Web.Reporting.Azure

Declaration

csharp
public static void UseAzureEnvironment(
    string cloudStorageConnectionString
)
vb
Public Shared Sub UseAzureEnvironment(
    cloudStorageConnectionString As String
)

Parameters

NameTypeDescription
cloudStorageConnectionStringString

A String value, specifying the connection to Azure Cloud Storage.

|

Remarks

By default, the Web Report Designer encrypts all information about data connections, which is passed to the client. To store this information in an Azure Table storage instead, call the UseAzureEnvironment method with the specified connection to Azure Cloud Storage at the application startup.

csharp
using DevExpress.XtraReports.Web.Azure.ReportDesigner;
// ...

protected void Application_Start(object sender, System.EventArgs e) {
    AzureReportDesignerContainer.UseAzureEnvironment(cloudStorageConnectionString);
}
vb
Imports DevExpress.XtraReports.Web.Azure.ReportDesigner
' ...

Protected Sub Application_Start(ByVal sender As Object, ByVal e As System.EventArgs)
    AzureReportDesignerContainer.UseAzureEnvironment(cloudStorageConnectionString)
End Sub

The Web Report Designer uses the Web Document Viewer internally to display a print preview. To enable the Report Designer to run on Azure, call the AzureWebDocumentViewerContainer.UseAzureEnvironment method.

To learn more, see Microsoft Azure Reporting.

See Also

UseAzureEnvironment

Microsoft Azure Integration Specifics

AzureReportDesignerContainer Class

AzureReportDesignerContainer Members

DevExpress.XtraReports.Web.Azure.ReportDesigner Namespace