Tagged with .net 3.5

WF 3.5 and SendActivity issue.

I am working on some .net 3.5 workflows, I’ve read that a migration to the fourth version of the framework is strongly reccomended for reasons spacing from perfomance to a better integration with WCF. Anyway, I was not able to invoke a WCF having a basicHttpBinding, in order to get it working I had to … Continue reading

Publish Rss feed using the Syndication namespace

Here’s an easy way to expose feeds using the new System.ServiceModel.Syndication namespace. Instead of dealing with XmlDocument the Rss20FeedFormatter class will be responsible to format the correct xml content for our feed. 1: SyndicationFeed feed = GetSyndicationFeed(); 2: Rss20FeedFormatter rssFormatter = new Rss20FeedFormatter(feed); 3: using (XmlWriter writer = XmlWriter.Create(context.Response.OutputStream)) 4: { 5: rssFormatter.WriteTo(writer); 6: writer.Flush(); … Continue reading