MVC best practices : Don’t use strings!
Posted 09 Jun 2009
I’ve blogged before about why I think it’s a bad idea to use strings to refer to controllers (and routes and views etc.) in ASP.NET MVC .
Seems I’m not the only one who is uncomfortable with this.
Check Kazi Manzur Rashid's Blog for a good list of MVC best practices. First item in the list: Avoid passing the controller, action or route name as string. My point exactly!
More MVC best practices and links to other posts on Maarten Balliauw’s blog.