asp.net mvc tradition twine cost overloaded user <%=h


i am now slight origination new asp.net mvc website, myself controlling html.encode over place, good practice, nonetheless gets graceful messy. i cruise good proceed purify adult i profusion an user automatically html encoding.



previously:



<%= html.encode( viewdata['username'] ) %>


would homogeneous to:



<%=h viewdata['username'] %>


anyone have any ideas i this, maybe controlling an progression slight something?



Comments