About 154,000 results
Open links in new tab
  1. Routing to controller actions in ASP.NET Core | Microsoft Learn

    Jun 17, 2024 · Learn how ASP.NET Core MVC uses Routing Middleware to match URLs of incoming requests and map them to actions.

  2. c# - Change Controller Route in ASP.NET Core - Stack Overflow

    Aug 21, 2017 · Using the Route attribute on top of your controller will allow you to define the route on the entire controller. [Route("anothernamethatpointstohomeactually")] You can read more …

  3. Routing in ASP.NET Core - C# Corner

    Routing in ASP.NET Core is the process of matching incoming HTTP requests to controller actions and determining which action should handle the request. It plays a vital role in URL …

  4. ASP.NET Route - Using Route in ASP.NET - ZetCode

    Apr 3, 2025 · Routing is fundamental for mapping incoming requests to controller actions in web applications. ASP.NET routing enables clean URLs and flexible request handling.

  5. Routing — ASP.NET documentation

    Routes are configured when the application starts up, and can extract values from the URL that will be used for request processing. Routing functionality is also responsible for generating …

  6. Routing to controller actions in ASP.NET Core - GitHub

    It's typical to use conventional routes for controllers serving HTML pages for browsers, and attribute routing for controllers serving REST APIs. Actions are either conventionally routed or …

  7. Routing in ASP.NET Core MVC Application - Dot Net Tutorials

    Routing in ASP.NET Core MVC is a mechanism that inspects the incoming HTTP request (i.e., URLs) and then maps those HTTP requests to the appropriate controller actions. It enables …

  8. Mastering Controllers in .NET APIs | by Alex Villegas | Medium

    Feb 27, 2025 · You can decorate the controller class with a [Route] attribute. Commonly, you’ll use token placeholders such as [controller] to automatically use the controller’s name.

  9. Routing in ASP.NET Web API | Microsoft Learn

    May 10, 2022 · Each entry in the routing table contains a route template. The default route template for Web API is "api/ {controller}/ {id}". In this template, "api" is a literal path segment, …

  10. MapControllers vs MapControllerRoute Routing in ASP.NET Core

    Feb 6, 2024 · Explore key differences and uses of MapControllers vs MapControllerRoute in ASP.NET Core for optimal routing strategies.