I'm building SPA
application using Backbone.js
and as its back-end
I want to use ASP.NET Web API
. I need only one page and this fact brings me a lot of confusion.
ApiController
returns json
response and as far as I understand there's no need in asp.net
-specific views at all. Am I right?
Can I use plain html for my main page? Or should I use *.cshtml
and put a call to RenderBody
instead?
If choose the first option then how will I handle validation?
Thanks!