October 2010
Intermediate to advanced
1920 pages
73h 55m
English
After you configure Polling SQL cache dependencies, you can use a SQL dependency with Page Output Caching. For example, the page in Listing 29.42 is output cached until you modify the Movies database table.
Listing 29.42. PollingSQLOutputCache.aspx

The page in Listing 29.42 includes an <%@ OutputCache %> directive with a SqlDependency attribute. The value of the SqlDependency attribute is the name of the database enabled for SQL dependencies in the web configuration file, followed by the name of a database table.
If you open the page in Listing 29.42 in your browser and click your ...
Read now
Unlock full access