Questions tagged [routedebugger]

6 questions
20
votes
1 answer

Defining custom URL routes in ASP.Net MVC

I have the following routes defined: public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute(name: "Homepage", url: "", defaults: new { controller = "Restaurants", action…
Saqib
  • 7,242
  • 7
  • 41
  • 55
8
votes
1 answer

Getting RouteDebugger to work on 404 pages?

There's a very similar question that refers in the title to RouteDebugger, but really they were using Glimpse, and the actual title question was never answered. So here it is again specific to RouteDebugger: If I'm getting a 404 in MVC3, how can I…
Chris Moschini
  • 36,764
  • 19
  • 160
  • 190
0
votes
0 answers

How to list mapped routes and their corresponding action in nestjs?

The problem is I want to list mapped routes and their corresponding controller and action in nestjs just like in laravel which is provided by php artisan route:list which shows routes method, path, and corresponding controller and action.
0
votes
1 answer

Why is @Html.ActionLink leaving off the controller and action portions of the link?

I am creating a link inside the main _Layout.cshtml file inside a MVC3 application. @Html.ActionLink("Security", "Index", "Home", new { area = "Security" }, new { }) When the page is rendered, this is the resultant Html
Keith Sirmons
  • 8,271
  • 15
  • 52
  • 75
0
votes
1 answer

c# MVC custom Route not matching

I've defined a custom route before my default route in MVC5, but it is not being hit for some reason. It hits the default route. My routes are defined as follows: routes.MapRoute( name: "PDF Viewer", url :…
hofnarwillie
  • 3,563
  • 10
  • 49
  • 73
0
votes
2 answers

ASP.NET MVC Routing issue. Not mapping route

I'm new to ASP.NET MVC and I've encountered problem, which I can't solve. I've spent two days searching Google, but still nothing. So, my situation is: I'm trying to implement localization in my ASP.NET MVC application using…