Creating K Unique Routes (MVC)

Hey All

Wanted to pick your brains on a new mvc project. I need to create unique urls such as

for maybe a million records or more.(up to 5 million maybe).

What's the best way to do this for mvc? I did a similar project with only like 30 records and I created the routes in the routeconfig.cs in a foreach loop but i don't think a foreachloop on spinup on a website with several million records was a good idea.

Thanks in advance for your help.

edit: urls will be coming from DB

by peetah74 via /r/csharp

Leave a Reply