In this recipe, we will take a look at a great use of the wildcard route. We will show how to make a single route that handles multiple URLs from
/Sports/Football/Padding/Rawlings/ShoulderPads to /Aquariums/100-Gallon/Stands/Marineland/Monterey-Stand. We will also take this concept one step further by supporting additional commands other than just a
Get content type scenario. We will also add support
Delete, Post, and
Edit, so that our single route can support an inline style content management solution.
Global.asaxfile. In the routing section, add a new route definition to the bottom of the list. This route will not ...