Search This Blog

Friday, March 9, 2012

Rethinking Web Services

A recent tweet from Dino Esposito mentioned agreement with a blog here.  Web services as we know them historically are not the be-all end-all for every solution and as technology folks we need to be thinking about applying the right-sized solution for the problems we are faced with.

In fact, in a recent integration effort we opted for what I'd refer to as 'UltraLite' web services built on top of ASP.NET MVC.  Our target audience for integration is, after all, well versed in our payload format (JSON) and with added support for mapping JSON into view models, we're still working in a known world in our controller actions.  With added testability of controller actions, we also have the capability of supporting end-to-end testing with isolation and our integration testers can use tools they are comfortable with to do integration testing (yes, they can use a web page or a web client or whatever).

Add to the above, rich data annotations, model state validation and you have basic validation support as well. 

No comments:

Post a Comment