HttpRouteCollectionExtensions.MapHttpRoute Method

Include Protected Members
Include Inherited Members

Maps the specified route template.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member MapHttpRoute(HttpRouteCollection, String, String) Maps the specified route template.
Public methodStatic member MapHttpRoute(HttpRouteCollection, String, String, Object) Maps the specified route template and sets default route values.
Public methodStatic member MapHttpRoute(HttpRouteCollection, String, String, Object, Object) Maps the specified route template and sets default route values and constraints.
Public methodStatic member MapHttpRoute(HttpRouteCollection, String, String, Object, Object, HttpMessageHandler) Maps the specified route template and sets default route values, constraints, and end-point message handler.

Top

See Also

Reference

HttpRouteCollectionExtensions Class

System.Web.Http Namespace