Quantcast
Channel: User mykhailovskyi - Stack Overflow
Viewing all articles
Browse latest Browse all 29

asp.net route does not work

$
0
0

I have a next route:

routes.MapRoute(
    "CatalogFilter",
    "{url}Catalog.aspx/{fltr}",
    new { controller = "Catalog", action = "Index", page = 1 }
);

So link does not match that route: http://localhost:63515/MotorOilCatalog.aspx?fltr=156 instead of http://localhost:63515/MotorOilCatalog.aspx/156.

I tried to remove all other routes to be sure that there are no unambiguous or conflicted routes but it also does not work.

I installed Phil Haacks "Route Debugger" and it shows: list of routes


Viewing all articles
Browse latest Browse all 29

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>