Skip to main content
A newer version of this page is available. .

DefaultReportDesignerContainer.RegisterSecureDataConverter<T>() Method

Enables the Web Report Designer to use a custom algorithm for encryption of data source connection strings on the client.

Namespace: DevExpress.XtraReports.Web.ReportDesigner

Assembly: DevExpress.XtraReports.v19.1.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public static void RegisterSecureDataConverter<T>()
    where T : ISecureDataConverter

Type Parameters

Name
T

Remarks

When the SQL Data Source wizard obtains connection strings from the Web.config file, only the connection name is serialized with the report definition.

You can register a custom connection string provider. Based on the registration mode you choose, all the connection parameters or the connection name only are serialized along with a report data source. When the report serialized with connection parameters is passed to the client, these parameters are encrypted by applying the MachineKey algorithm. To provide a custom encryption mechanism, use the ISecureDataConverter interface.

See Also