Answer the question
In order to leave comments, you need to log in
How to make skip in asp.net mvc routing url check?
Example
routes.MapRoute(
name: null,
url: "{slug1}/{slug2}",
defaults: new { controller = "Home", action = "slug"}
);
routes.MapRoute(
name: "Default",
url: "{controller}/{action}",
defaults: new { controller = "Home", action = "Index" }
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question