aspnetmvc-115021-components-card-view-binding-to-data-binding-to-large-data-database-server-mode.md
The MVC CardView extension supports a specific binding mode designed to work with large datasets. Within this binding mode, data-aware operations (sorting, grouping, etc.) are performed on the database server side, which is why this mode is called database server mode.
In database server mode, the MVC CardView is bound to a queryable source using the CardViewExtension.BindToLINQ method, which allows the CardView to load data from the queryable source on demand.
When an end-user performs data operations (sorting, filtering, etc.), the CardView generates smart queries to receive only those records that must be displayed on screen. These requests are passed to the associated queryable source. The queryable source translates these requests into the required queries and executes them. This ensures a quick response and improved performance for large data sources.
For end-users, the MVC CardView functions identically in regular and server modes. In database server mode , end-users can use an automatic filtering feature to access a particular data range, sort and filter data, calculate summaries, etc.
Perform the following steps to bind the CardView to a data source in database server mode.
Add the CardView to your project
Change the View code
In server mode, the MVC CardView does not have simultaneous access to bound data in its entirety. This imposes some limitations on its features that are still available in regular binding mode. see the list below for information on features that have limitations in server mode.
See Also