Abstract
In the previous chapter, we showed you how to use the routing system to handle incoming URLs—but this is only part of the story. We also need to be able use our URL schema to generate outgoing URLs we can embed in our views, so that users can click links and submit forms back to our application in a way that will target the correct controller and action. In this chapter, we will show you different techniques for generating outgoing URLs, show you how to customize the routing system by replacing the standard MVC routing implementation classes and use the MVC Framework areas feature, which allows you to break a large and complex MVC application into manageable chucks. We finish this chapter with some bestpractice advice about URL schemas in MVC Framework applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2012). Advanced Routing Features. In: Pro ASP.NET MVC 4. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4237-6_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4237-6_14
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4236-9
Online ISBN: 978-1-4302-4237-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)