Moving from traditional ASP. NET MVC to WebApi + Knockout

Viewed 3780

I've just read an interesting article about how Microsoft seems to be moving towards a REST interface + client-side javascript-based MVVM development for web applications.

Although I technically understand the basic difference between the two models, I am utterly confused regarding its implications about how I write web applications and most importantly how to transition gracefully to this new model.

So, for someone moving from traditional ASP.NET MVC to WebApi + KO, the following questions arise:

  • Is there a way to have unobtrusive or near-unobtrusive (i.e. minimal code) validation using MVC + KO?
  • How does one go about unit testing his UI code?
  • Does browser compatibility suffer with KO?
  • Is there anything else someone has to consider when moving from one model to the other?
2 Answers
Related