RouteCollection.MapPageRoute Method (String, String, String)
Provides a way to define routes for Web Forms applications.
Assembly: System.Web (in System.Web.dll)
The name of the route.
The URL pattern for the route.
The physical URL for the route.
Return ValueType: System.Web.Routing.Route
The route that is added to the route collection.
The following example shows how to define a route by using this method. The first statement defines a route that does not have a name. The second statement defines a named route. This example is part of a larger example that is available in the MapPageRoute method overview.
Available since 4.0