FriendlyUrlSettings Class
.NET Framework 4
Represents the settings used when enabling Friendly URLs.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.FriendlyUrls.FriendlyUrlSettings
Namespace: Microsoft.AspNet.FriendlyUrls
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Public NotInheritable Class FriendlyUrlSettings
'Usage
Dim instance As FriendlyUrlSettings
public sealed class FriendlyUrlSettings
public ref class FriendlyUrlSettings sealed
[<SealedAttribute>]
type FriendlyUrlSettings = class end
public final class FriendlyUrlSettings
The FriendlyUrlSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FriendlyUrlSettings | Creates a new instance of the FriendlyUrlSettings class with the default values. |
Top
Properties
Name | Description | |
---|---|---|
AutoRedirectMode | The type of redirect to perform on non-friendly URLs to friendly URLs. Defaults to Off. | |
ResolverCachingMode | The mode of caching to use when resolving friendly Urls. Defaults to ResolverCachingMode.Static. | |
SwitchViewRouteName | The name of the route that handles user requests to switch views. Defaults to "AspNet.FriendlyUrls.SwitchView". | |
SwitchViewUrl | The URL that view switching request are sent to. Defaults to "__FriendlyUrls_SwitchView/{view}". |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.