© Adam Freeman 2016

ADAM FREEMAN, Pro ASP.NET Core MVC , 10.1007/978-1-4842-0397-2_16

16. Advanced Routing Features

Adam Freeman

(1)Milton Keynes MK6 3PA, UK

In the previous chapter, I showed you how to use the routing system to handle incoming URLs, but this is only part of the story. You also need to be able use your URL schema to generate outgoing URLs you can embed in your views so that users can click links and submit forms back to your application in a way that will target the correct controller and action.

In this chapter, I show you different techniques for generating outgoing URLs, how to customize the routing system by replacing the standard MVC routing implementation classes, and how to use the MVC areas feature, which allows you to break ...

Get Pro ASP.NET Core MVC, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.