摘要 |
A system to provide control architecture comprises a control, a client and a client container. The control can hold client-side resources for an appropriate resource scope to achieve optimal performance and utilization of resources, wherein access to the client-side resources is parameterized by metadata annotation declared on the control. The client is capable of at least one of the following via the control performing a plurality of operations to access and/or configure the plurality of properties of the resource; and retrieving data from the resource. In addition, the client container is capable of maintaining an accumulated list of controls that have acquired resources; and releasing resources at the end of appropriate resource scope. The definition of the resource scope can be delegated to the client container within which the control is executing.
|