Question

I want to create a productcatalog with N-Level Categories

e.g.

/Catalog/Category1/Category2/../SubCategoryN/Product/{ProductActions}/{ID}

And at the same time be able to 

/Catalog/Category1/Category2/../SubCategoryN/{CategoryActions}

Is that possible and if Yes how?

Was it helpful?

Solution

Not with the default Route class, but you can make your own route class by deriving from RouteBase. You basically end up having to do all the work yourself of parsing the URL, but you can use the source from Route to help you get started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top