Muhammad Imran Ansari
How does attribute routing differ from convention-based routing in MVC?
By Muhammad Imran Ansari in .NET on Nov 06 2024
  • Alpesh Maniya
    Nov, 2024 12

    Conventional routing is defined as routing at the global level inside the program.cs file to map the request with controller and action, whereas attribute routing can be defined at the particular controller's action level by specifying the particular URL route by providing the Route attribute. If we want to create a custom route, then we can use attribute routing.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS