Declares methods used to manage URL routing.
Related API Members
The following members return IViewUrlManager objects:
This interface is implemented by the following classes:
ViewUrlManager - provides routes for user-friendly URL functionality in ASP.NET Web Forms applications. With this format, URLs include the View’s parameters as the path and query components, as shown below:
You can use the RegisterXafRoutes(RouteCollection) method to register additional or replace the default routes with yours.
If no route is registered, URLs include the View’s parameters as the query component.
Also, note that the
user-friendly URL mechanismdoes not support composite keys. Implement a custom ViewUrlManager to support them.
ViewUrlHashManager - provides compatibility with routes used in ASP.NET Web Forms applications created in v18.2 or earlier. With this format, URLs include View’s parameters as the fragment component, as shown below:
Refer to the ASP.NET Web Forms User-Friendly URLs for Views example to learn how to enable the user-friendly URL mechanism in your ASP.NET Web Forms application.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IViewUrlManager interface.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.