The (dis)appearance of ‘Spaghetti Code’ in ASPX views

Friday, November 05, 2010 / Posted by Luke Puplett /

Offended by the proliferation of vulgar <% throughout my view mark-up, and with no luck/patience getting Razor working, I decided that the poor man’s version would be to tone-down those ugly little marks. The result was quite amazing.


The tags denoting server-side code no longer wrestle for attention and send my eyes spinning. I almost didn’t post this but I’d wager that most people out there would blame the hard readability on the way ASP.NET MVC works and not the poor choice of colour in the default settings.

Labels: ,


Post a Comment