C# Class Chronozoom.UI.PageInformation

Show file Open project: JayBeavers/ChronoZoom Class Usage Examples

Private Properties

Property Type Description
GetFileVersion string

Public Methods

Method Description
PageInformation ( ) : System.Diagnostics

Private Methods

Method Description
GetFileVersion ( string webPath = "" ) : string

Used to obtain a versioning value that can be used in a query string when linking static content such as .js and .css files. The versioning value changes every time the file is changed, and can be used so that browsers do not need to be manually refreshed by users when static content changes. For example, x.js?v=2014-12-31--17-30 is seen by browsers as a different file compared to x.js?v2015-01-01--00-00. It should be noted that this particular approach is not be suitable for a web farm unless sticky IPs are used on the load balancer.

Method Details

PageInformation() public method

public PageInformation ( ) : System.Diagnostics
return System.Diagnostics