3 ms·
Is Jeff really making HTML strings in his methods? Aren't there template systems for .NET?
by jonknee 18y ago
Is Jeff really making HTML strings in his methods? Aren't there template systems for .NET?
- johns 18y agoYes, but they get very ugly when you have a lot of control structures. Jeff prefers to move these into code, see here: http://twitter.com/codinghorror/statuses/1154609179 http://twitter.com/codinghorror/statuses/1154609179
- pseale 18y agoJeff is presumably choosing to build his reusable HTML widgets in functions, which is one valid way to do things. Here's a good overview of all options available to ASP.NET MVC: http://www.lostechies.com/blogs/jimmy_bogard/archive/2009/01/27/asp-net-mvc-options-for-consolidating-html.aspx http://www.lostechies.com/blogs/jimmy_bogard/archive/2009/01...