Skip to main content

Advanced Routing Features

  • Chapter
  • First Online:
Pro ASP.NET MVC 5
  • 3957 Accesses

Abstract

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 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. I finish this chapter with some best-practice advice about URL schemas in MVC Framework applications. Table 16-1 provides the summary for this chapter.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2013). Advanced Routing Features. In: Pro ASP.NET MVC 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6530-6_16

Download citation

Publish with us

Policies and ethics