Data collector - SimplifyNet/Simplify.Web GitHub Wiki

Data collector

DataCollector is a class that aggregates all the data for an HTML page during the page construction stage.

  • All user controllers must put HTML data into it.
  • When page construction starts, the master template is loaded, data from the DataCollector is inserted into it, and the result is sent to the client.
  • It is recommended to use the respective Tpl or StaticTpl controller responses instead of using DataCollector directly.

<< Previous page Next page >>