[RESOLVED]MVC4 With HTML5

Hi,

I am going to start new project in MVC. I want to know feasibility and support of HTML5 with MVC.

As far as I can understand MVC uses pure HTML controls.  How feasible and effective to use HTML5 controls? Should I use Razor view or Normal aspx views?

I was also exploring Ajax and Binding implementation with MVC.  After some research I decided to go with KnockoutJS. Let me know your inputs on this also. 

Best Regards,

Janak Darji 

Janak.Darji

MVC uses pure HTML controls.

MVC does not care about what controls do you use on HTML. MVC cares about binding

Yes, MVC have helpers –  but Html.TextBoxFor is a shortcut for <input type=’text’ value=’@Model.<prop>’

Janak.Darji

How feasible and effective to use HTML5 controls?

easy and yes.

Janak.Darji

hould I use Razor view or Normal aspx views?

Razor is simpler

Janak.Darji

I was also exploring Ajax and Binding implementation with MVC.  After some research I decided to go with KnockoutJS.

Binding on MVC have nothing to do with Knockout, that is on browser.

Thank you for reply and clarification. 

For HTML5 It would require me add additional helper or it is part of framework?

Best Regards,

Janak Darji 

Janak.Darji

it is part of framework?

as I know , it is not.

Leave a Reply