Microsoft.AspNet.FriendlyUrls Resolves a file handler virtual path to a friendly URL using the registered resolvers. The friendly URL. The handler virtual path. The URL segments left over after Friendly URLs mapped this request to a file. Represents the settings used when enabling Friendly URLs. Creates a new instance of the FriendlyUrlSettings class with the default values. The type of redirect to perform on non-friendly URLs to friendly URLs. Defaults to Off. Returns . The mode of caching to use when resolving friendly URLs. Defaults to ResolverCachingMode.Static. Returns . The name of the route that handles user requests to switch views. Defaults to "AspNet.FriendlyUrls.SwitchView". Returns . The URL that view switching request are sent to. Defaults to "__FriendlyUrls_SwitchView/{view}". Returns . Returns the extension of the file Friendly URLs mapped this request to. The file extension, e.g. .aspx. The HttpRequest object. Returns the extension of the file Friendly URLs mapped this request to. The file extension, e.g. .aspx. The HttpRequestBase object. Returns the virtual path of the file Friendly URLs mapped this request to. The file virtual path The HttpRequest object. Returns the virtual path of the file Friendly URLs mapped this request to. The file virtual path. The HttpRequestBase object. Returns the URL segments left over after Friendly URLs mapped this request to a file. The URL segments. The HttpRequest object. Returns the URL segments left over after the current request has been mapped to a file. The URL segments. The HttpRequestBase object. Represents the mode of redirect to use when auto-redirecting to friendly URLs. Performs a permanent redirect (301 response code). Performs a temporary redirect (302 response code). Performs no auto-redirect (disabled). 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. 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. 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. Don't perform any caching. Always query the file system directly every time a request to a friendly URL comes in. Enables friendly URLs for Web Forms pages. The routes collection. Enables friendly URLs for Web Forms pages. The routes collection. The settings to use when enabling Friendly Urls. Enables friendly URLs using the passed resolvers. The routes collection. The settings to use when enabling Friendly Urls. The friendly URL resolvers to use. Enables friendly URLs using the specified resolvers. The routes collection. The friendly URL resolvers to use. Represents an attribute that specifies that model binding values are provided by a friendly URL segment. Creates an instance of the FriendlyUrlSegmentsAttribute class. The index of the URL segment to return. Returns . A value provider that retrieves values from the segments of a Friendly URL. Returns . Resolves a friendly URL to an HTTP handler. Creates a FriendlyUrlResolver for the provided extension. The physical file extension understood by this resolver. Must include the leading period, e.g. ".aspx". Converts a typical URL with a file extension into a friendly extension-less URL. The friendly URL (extension stripped) if this resolver can automatically map extensionless URLs to physical files with the provided extension. Otherwise, null. The original path, including the file extension. Gets the extensions to use (such as .aspx, .ashx, or .mobile.aspx) while attempting to resolve an HTTP handler from the friendly URL. The list of extensions. The current HttpContext. Called after a friendly URL is resolved to an HTTP handler but before the handler is executed. The current HttpContext. The HTTP handler. Resolves friendly URLs to generic handlers such as *.ashx. Converts a typical URL with a file extension into a friendly extension-less URL. The friendly extension-less URL if this resolver can automaticallymap extensionless URLs to physical files with the provided extension. Otherwise, null. The original path, including the file extension. Returns a list of file extensions that the Friendly URLs system will try to resolve for the current request. For example, if the current request is for "~/example" and the GetExtensions method returns [ ".mobile.aspx", ".aspx", ".en-us.aspx" ], then the Friendly URLs system will attempt to match the current request to thefiles "~/example.mobile.aspx", "~/example.aspx", and "~/example.en-us.aspx", returning the first match. A list of extensions that the system should try to resolve. The current request. Provides the ability to inspect or modify the IHttpHandler that was resolved for the current request before the handler's ProcessRequest method is called. Information about the current request. The handler that will be invoked. Resolves friendly URLs to Web Forms pages. Returns . Returns . Determines if the current friendly URL was resolved to a mobile view based on the client browser and/or overrides. Whether the current view is a mobile view. The page. Attempts to set the MasterPageFile property for the given page based on whether the master page exists. A boolean value indicating whether the master page was set. The page. The master page file virtual path. Attempts to set the MasterPageFile property for the given page to a mobile specific master page. A boolean value indicating whether the master page was set. The HTTP context. The page.