Thanks for the reply, I think I see what you are saying. Although, I
am not sure I can conceptualize what benefits you are reaping by
building an OData service around MVC, rather than just using WCF Data
Services.
As for the UI, it sounds like you are composing views into a page on
the server, which I can see being a very useful feature if you don't
need/want the full SPA (Single Page Application) experience. I am
composing my UI on the client instead, so I have a bit more glue logic
living on the client (written in JavaScript).
I will say that I am glad that Microsoft decided to break out the
routing classes from MVC - I am using those to provide nice REST-style
URI access to my view/viewmodel heirarchy.
On Feb 13, 3:49 pm, Craig Beck <
craig.b...@bonzalabs.com> wrote:
> I didn't make the architecture decision (that happened long before I got there), but ASP.Net MVC was chosen as the framework for building an OData service designed to serve HTML, plain json, as well as the OData flavors of atom and json.
>
> Basically any one route doesn't actually do enough for a UI i.e. they are very fine-grained and you wouldn't want a user to have to navigate dozens of uris to get anything done so the HTML served is really a consolidation of several routes into a usable UI all done through ajax and KO on the client side.
>
> Does that help?
>
> --
> Craig Beckhttp://
bonzalabs.com