2

i am using the following route to map to a controller that finds something by a Tag

routes.MapRoute(
            "SearchByTagname",
            url: "Search/Tag/{tagname}",
            defaults: new { controller = "Search", Action="Tag", tagname = "" });

It works fine, if there is no point (.) in URL.

Calling /Search/Tag/ASP.NET gives me 404.

Thank you & regards

Stephan

0 Answers0