News for hackers. Stuff that matters.
Re:Fark.com's live thread during the Sept. 11 attacks by P5fRxh5kUvp2th on Sunday September 11, 2022 @09:48AM (#32799597)
It's for this reason I strongly prefer asp.net razor pages to MVC.

queue morpheus voice

What if I told you back in my day you could generally find the code by looking at the URL structure before this routing stuff became such a big deal?

imo razor pages hits the right balance. Generally speaking it's auto-routed based upon the URL, but you CAN hook into the routing in the razor page itself for fanciness for those few occasions where you need it.

Everyone always takes a good idea and runs too far with it, but I feel like the routing for razor pages pulls back to reasonableness.

There are no comments on this comment yet.