I have some custom packages that I need to pass one parameter.
Currently I pass it this way (and it works):
However I would like to pass it this way instead:
I tried it but then it returns me the error "Cannot create an abstract class.".
What you are describing is adding route parameters. Adding route parameters requires doing some custom coding. You need to add routes via attribute on appropriate controller file or the routeconfig.cs (AspDotNetStorefront.Application project) for MVC to understand new route parameters.
Thank you Mark, I will take a look on it!