Planning for SOA: Returning data in multiple formats(galratner.com)

submitted by galratnergalratner(334) 1 year, 3 months ago

major part of any SOA implementation is the ability to return multiple data formats and while SOAP still plays a major role in SOA, the need for RSS syndication, JSON and plain XML may require you to add new functionality and steer away from traditional WCF RPC calls. With OData enabled services you can expend the flexibility of your system, but, what about a pain old XML read feed? There is no need to use the overhead of WCF Data Services or RIA OData publish points. Here is a simple class I use along with a generic HTTP Handler. You might recognize the pattern from an earlier blog post. This class converts POCO objects to JSON, XML, RSS20 and ATOM10. Since IHttpHandler defines the contract that ASP.NET implements to synchronously process HTTP Web requests, it should show performance gains over WCF Data Services. Here is the class DataFormatManager

add a comment |category: |Views: 5

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story