[ServiceContract(Namespace = "http://paperlnx.Contracts/2007/12", Name = "ISessions")] public interface ISessions { [OperationContract] [WebGet(UriTemplate = "/Sessions/{sessionId}")] [ServiceKnownType(typeof(Atom10FeedFormatter))] SyndicationFeedFormatter ListSessionStatus(string sessionId); . . .
public static SyndicationFeedFormatter GenerateAtomError(string errormessage, string description,Uri location) { SyndicationFeed feed = new SyndicationFeed(errormessage, description, location); return new Atom10FeedFormatter(feed); }
Subscribe to RSS headline updates from: