Keep track of all the latest news and events on developer tools and technologies you care about
Over the weekend a video of Scott Guthrie talking about ASP.NET MVC 4 went online, there are many new features but In particular I'm interested in the Web API. Over the past few months I have been doing a lot of HTML5 work and for my backend services I have been using controllers to simply spit out JSON. In the demo, that starts around 36 minutes, Scott shows how you can create APIs that will return either JSON or XML depending on the http header sent. Also if your API’s return type is of IQueryable then you can make Odata requests against the API.
This comes at a perfect time for me as I’m just putting together an App that runs across WP7, HTML, iOS and Windows 8 and this looks like it will be perfect for my requirements.
I’d recommend watching the whole presentation if you have time as it’s a really great primer for MVC 4. It’s also nice to see that many of the features shown will work in Web Forms too.
Go check the video out over on Channel 9