List page commands that are not very familiar to you.
<% @ OutputCache Duration = "1" %>
Page output cache: stores the ASP. NET page content after processing in the memory. In this way, the response information is sent to the client within a certain period of time, and does not have to be processed again.
Use Cases: pages that do not change frequently, but require a large amount of processing. You can configure them in web. config.
Duration: Set the cache time of the page living control.
VaryByParam: When Using Cache commands on pages and controls, you must use the VaryByParam or VaryByControl attributes. If not, a analyzer error occurs. if you do not want to change the cache content by setting parameters, you can set VaryByParam to NONE. If you want to change the value of all parameters to change the output cache, you can set the attribute *
@ Assembly is used to link the Assembly to the page during compilation, so that developers can use all classes and methods exposed by the Assembly. \ below are two forms
<% @ Assembly Name = "assemblyName" %>
<% @ Assembly Src = "~ /Properties/AssemblyInfo. cs "%>