Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Introduction to the ASP.NET Web API
Jul 24, 2012 at 4:28 PMSo is the recommended approach for MVC/WebAPI hybrid apps to go back over the wire to your REST API server from your MVC front end? To me this seems like a situation where a shared domain model compiled separately into two apps makes more sense. Then you serve HTML to browsers via MVC and JSON to mobile apps or other clients. Otherwise I'm going from browser, over the network to the MVC server, over the network again (perhaps configured so it doesn't leave the datacenter) to my REST API endpoint, then to the DB, then back over each hop again.
Of course I know that SPAs & MVC js frameworks like backbone work nicely with REST APIs. So ideally you'd skip the MVC part. I guess I'm just used to the heavier back end tier, not simply shipping objects to a smart js front end.
Are there any other ways to integrate MVC & WebAPI?
Bug Killer – A Channel 9 Halloween special
Oct 31, 2009 at 6:32 AMAwesome. Had a Pi (the movie) kind of feel.
Hanselminutes on 9 - Phil Haack on the ASP.NET MVC 1.0 Release
Mar 28, 2009 at 5:15 AM