We are about to start development of an e-commerce site that will lean heavily on the new .net 4 url routing see ScottGu’s blog post. The potential problem I see is that we have 1000’s of products to display and each one will have its own unique URL. My question is this: Does anyone have experience registering the routes of 1000’s of products in Application_Start? How does this effect performance? Memory usage? Other issues I’m not even aware of?
Share
Why wouldn’t you route it like this image, where the product name is a slug?
Since the product is a slug, not part of the routed URL, and you can access which product was requested through the routing data…