WebFormsFriendlyUrlResolver Class

.NET Framework 4.5

Resolves friendly URLs to Web Forms pages.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.FriendlyUrls.Resolvers.FriendlyUrlResolver
    Microsoft.AspNet.FriendlyUrls.Resolvers.WebFormsFriendlyUrlResolver

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

Syntax

'Declaration
Public Class WebFormsFriendlyUrlResolver _
    Inherits FriendlyUrlResolver
'Usage
Dim instance As WebFormsFriendlyUrlResolver
public class WebFormsFriendlyUrlResolver : FriendlyUrlResolver
public ref class WebFormsFriendlyUrlResolver : public FriendlyUrlResolver
type WebFormsFriendlyUrlResolver =  
    class 
        inherit FriendlyUrlResolver 
    end
public class WebFormsFriendlyUrlResolver extends FriendlyUrlResolver

The WebFormsFriendlyUrlResolver type exposes the following members.

Constructors

  Name Description
Public method WebFormsFriendlyUrlResolver

Top

Methods

  Name Description
Public method ConvertToFriendlyUrl Converts a typical URL with a file extension into a friendly extension-less URL. (Inherited from FriendlyUrlResolver.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetExtensions (Overrides FriendlyUrlResolver.GetExtensions(HttpContextBase).)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method IsMobileExtension
Public methodStatic member IsMobileView Determines if the current friendly URL was resolved to a mobile view based on the client browser and/or overrides.
Protected method MemberwiseClone (Inherited from Object.)
Public method PreprocessRequest (Overrides FriendlyUrlResolver.PreprocessRequest(HttpContextBase, IHttpHandler).)
Public method ToString (Inherited from Object.)
Protected method TrySetMasterPageFile Attempts to set the MasterPageFile property for the given page based on whether the master page exists.
Protected method TrySetMobileMasterPage Attempts to set the MasterPageFile property for the given page to a mobile specific master page.

Top

Fields

  Name Description
Public fieldStatic member ViewSwitcherCookieName

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.

See Also

Reference

Microsoft.AspNet.FriendlyUrls.Resolvers Namespace