C# Class Snooze.UrlHelperExtensions

Show file Open project: ryansroberts/Snooze

Public Methods

Method Description
IE6PngBehavior ( this url ) : string
StaticFile ( this url, string path ) : string

Generates a static, versioned, URL for a given file path. If web.config is in debug mode then the URL includes current Tick count to force the browser to download again.

Method Details

IE6PngBehavior() public static method

public static IE6PngBehavior ( this url ) : string
url this
return string

StaticFile() public static method

Generates a static, versioned, URL for a given file path. If web.config is in debug mode then the URL includes current Tick count to force the browser to download again.
public static StaticFile ( this url, string path ) : string
url this
path string Path to the file, relative to the current request.
return string