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.v20.2.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Type Parameters
Name |
---|
T |
Remarks
When the SQL Data Source wizard obtains connection strings from the Web.config file, the serialized report contains only the connection name (and not the connection string itself).
You can register a custom connection string provider and store all the connection parameters or only the connection name with the serilaized 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.
Refer to the following topics for more information on data connection registration:
- ASP.NET Web Forms - Register Data Connections
- ASP.NET MVC - Register Data Connections
- ASP.NET Core - Register Data Connections