Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
So far, we’ve managed to build a controller class that incorporates the logic needed to display the homepage. In fact, its Index action is able to create a model instance and use some services to populate it; then it selects a view that translates all those bits into HTML.
We’re still missing the trigger that executes that action. A user starts a request by typing our blog’s URL into their browser, but there must be some additional logic that links that URL to the actual C# code you just finished writing. Enter URL routing.