Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.
Ever since the first version of ASP.NET MVC was released, developers have constructed their URL routes using convention-based routing via Route Collections. ASP.NET MVC 5 introduces attribute routing, the first significant enhancement to routing since MVC 1. Attribute routing exists to provide better control over complex URL scenarios. In this session, you'll learn how to configure a project to use attribute routing and how to correctly annotate controllers and actions. You'll see how to fine tune route parameters, set up route prefixes, add constraints, and integrate attribute routing into legacy systems without impacting existing routes.
{{toc.Position}} | {{toc.Text}} |