So, I have been tasked with rewriting a prototype ruby app back-end to .NET, and have stumbled onto a gem called js-routes. You can read about this here: https://github.com/railsware/js-routes/
This gem appears to generate JavaScript objects for all the routes that were defined in the ruby app. I need to see if there is something that is similar in the ASP.NET MVC world.