Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ASP.NET Core 2 Fundamentals

You're reading from  ASP.NET Core 2 Fundamentals

Product type Book
Published in Aug 2018
Publisher
ISBN-13 9781789538915
Pages 298 pages
Edition 1st Edition
Languages
Authors (2):
Onur Gumus Onur Gumus
Author Profile Icon Onur Gumus
Onur Gumus
Mugilan T. S. Ragupathi Mugilan T. S. Ragupathi
Author Profile Icon Mugilan T. S. Ragupathi
Mugilan T. S. Ragupathi
View More author details
Toc

Chapter 6. Routing

Routing is one of the most important concepts in the ASP.NET MVC application as it takes care of incoming requests and maps them to the appropriate controller's actions.

We briefly discussed routing in Chapter 2, Controllers. In this chapter, we are going to discuss routing along with several options available for customizing it in ASP.NET Core.

By the end of this chapter, you will be able to:

  • Use the MapRoute method to configure routing
  • Work with different types of routing with examples—convention and attribute-based
  • Use HTTP verbs in attribute-based routing
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime