ResolverCachingMode Enumeration

.NET Framework 4.5

Represents the mode of caching to use when resolving URLs. This setting affects how quickly extension-less URLs can be mapped back to their corresponding full URLs.

Namespace:  Microsoft.AspNet.FriendlyUrls
Assembly:  Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)

Syntax

'Declaration
Public Enumeration ResolverCachingMode
'Usage
Dim instance As ResolverCachingMode
public enum ResolverCachingMode
public enum class ResolverCachingMode
type ResolverCachingMode
public enum ResolverCachingMode

Members

Member name Description
Static Build a list of files at application startup. This mode of operation is appropriate for sites where files are not added or removed at runtime.
Dynamic Builds a list of files as requests arrive, and updates the file list as files in the site change. This mode of operation uses more memory than a static cache, but is useful for updating the file list for sites where files or directories are added or removed at runtime.
Disabled Don't perform any caching. Always query the file system directly every time a request to a friendly URL comes in.

See Also

Reference

Microsoft.AspNet.FriendlyUrls Namespace