Monday, September 7, 2009

Architecture of Syndication

Architecture of Syndication
The Syndication API is designed to provide a format-neutral programming model that allows syndicated content to be written on to the wire in a variety of formats. The abstract data model consists of the following classes:
These classes map closely to the constructs defined in the Atom 1.0 specification, although some of the names are different.


In Windows Communication Foundation (WCF), syndication feeds are modeled as another type of service operation, one where the return type is one of the derived classes of SyndicationFeedFormatter. The retrieval of a feed is modeled as a request-response message exchange. A client sends a request to the service and the service responds. The request message is set over an infrastructure protocol (for example, raw HTTP) and the response message contains a payload that consists of a commonly understood syndication format (RSS 2.0 or Atom 1.0). Services that implement these message exchanges are referred to as syndication services.
The contract for a syndication service consists of a set of operations that returns an instance of the SyndicationFeedFormatter class. The following example demonstrates an interface declaration for a syndication service.


Syndication support is built on top of the WCF REST Programming Model that defines the WebHttpBinding binding, which is used in conjunction with WebHttpBehavior to make feeds available as services. For more information about the WCF REST Programming Model, see WCF REST Programming Model Overview.



See full details: http://msdn.microsoft.com/en-us/library/bb412203.aspx

No comments: