Have a look at the Razor view engine - I find using it results in much
cleaner markup.

On Fri, Jan 14, 2011 at 9:27 AM, Karl Oakes <[email protected]> wrote:

> I am currently learning MVC and although I like HtmlHelpers as they take
> away some of the complexity due to the auto magic that is going on, i.e. url
> creation and implicit model binding to strongly typed views. I am also torn
> as they look so awful and much like web form server controls. I never really
> liked web forms because of the core concept of trying to force an event
> model into HTTP purely to encapsulate the web into a windows form
> environment. I actually moved away from .Net because of this and either
> wrote classic ASP/Perl/PHP using nicely constructed valid HTML with
> unobtrusive JS, although I did start to use .Net webservices as I found
> these a useful compromise. So my point is can I still code clean looking
> views using standard HTML or will this be more trouble than it is worth and
> just go with HTML helpers, which do output clean HTML anyway.
>

Reply via email to