Level: Introductory to Intermediate
The MVC routing engine in the front door to your ASP.MVC application. Get the MVC routing right, and your site will be a pleasure to use, simple to bookmark and rank high in search engine results. But getting it wrong can lead to subtle bugs. The session covers the fundamentals of routing, touching on custom routes, useful URL constraints and proper route error handling. You'll learn how to write Unit tests for routes with MOQ and how to debug problems in the route tables with Glimpse. You also see how to use the route data in your controllers.
You will learn:
- Discover how to configure routes to your best advantage
- The best strategies to unit test your route
- Explore server side route debugging with Glimpse