I need some convincing on the Razor View Engine.
From what I can tell, Microsoft have simply re-introduced inline code back into markup; weren’t code-behind pages originally introduced to eradicate this?
I assume (and hope) that I am missing something 🙂
Razor is not for writing your business logic in your view.
Razor is for iterating over model and converting it to html. Your business logic is in controller besides even in WebForms view engine you did the same looping only with a more verbose syntax. Razor has cleaner syntax. It doesn’t bring anything else with it.