Progress® Telerik® Reporting R1 2018

CacheFactoryCreateDatabaseCache Method

Creates new instance of database cache that will store cached data in a database.

Namespace:  Telerik.Reporting.Services.WebApi
Assembly:  Telerik.Reporting.Services.WebApi (in Telerik.Reporting.Services.WebApi.dll)


public static ICache CreateDatabaseCache(
	string backendName,
	string connectionString


Type: SystemString
Specifies which database engine should be used.
Type: SystemString
A connection string that should be used to connect to the cache database

Return Value

Type: ICache
The newly created cache instance.


In order to use a database cache you should firstly use the Database Cache Configuration Tool in order to create the underplaying database and its schema.
Note that the database cache implementation relies on the Telerik OpenAccess so the following OpenAccess core libraries should be referenced: Telerik.OpenAccess.dll, Telerik.OpenAccess.35.Extensions.dll . Proper assembly binding redirects might apply.
See also: Configuring the Database Cache Provider

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article