Route Collection and Route Table

TheRouteTableis a class that stores the URL routes for your application.

ARouteCollectionprovides a collection of route information to be used when mapping a URI to a controller action.

TheRouteTablecontains a property calledRoutesthat will return aRouteCollection. TheRouteTableuses aRouteCollectionin order to store all the URL routing information it needs to accurately direct URI's to the correct controller action.

In your global.asax you will register the routes that will map to various controller actions by specifying the following:

results matching ""

    No results matching ""