Are there libraries that support JSTL style encoding in ASP MVC view?
I prefer
<c:forEach var="c" items="${Customers}"> <c:out value="${c.Name}"/><br/ > </c:forEach>
to
<% foreach(Customer c in customers) { %> <%= c.Name %><br/ > <% } %>
Yep, Spark is probably your friend on this one. It looks pretty similar to the spirit.
becomes
<for each="var c in Customers"> ${c.Name}<br/> </for>
The closest thing I know is the Spark Viewer .
The viewing mechanisms closest to JSTL coding are as follows:
From JSTL, suggested Sharp fragments would be better in terms of usage and learning curve