Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Well @Page Brooks, I see this more as a solution then as a question :). Thanks!!! And to answer your question ( ;) ), yes, I definitely think this is a bug in the Rss20FeedFormatter (though I did not chase it as far), because had encountered precisely the same issue that you described.</p> <p>You have a 'localhost:8732' referral in your post, but it wasn't available on my localhost ;). I think you meant to credit the 'PostProcessOutputBuffer' workaround to this post: <a href="http://damieng.com/blog/2010/04/26/creating-rss-feeds-in-asp-net-mvc" rel="nofollow noreferrer">http://damieng.com/blog/2010/04/26/creating-rss-feeds-in-asp-net-mvc</a></p> <p>Or actually it is not in this post, but in a comment to it by David Whitney, which he later put in a seperate gist here: <a href="https://gist.github.com/davidwhitney/1027181" rel="nofollow noreferrer">https://gist.github.com/davidwhitney/1027181</a></p> <p>Thank you for providing the adaption of this workaround more to my needs, because I had found the workaround too, but was still struggling to do the adaptation from MVC. Now I only needed to tweak your solution to put the RSS feed to the current Http request in the .ashx handler that I was using it in.</p> <p>Basically I'm guessing that the fix you mentioned using the CDataSyndicationContent, is from feb 2011, assuming you got it from this post (at least I did): <a href="https://stackoverflow.com/questions/1118409/syndicationfeed-content-as-cdata">SyndicationFeed: Content as CDATA?</a></p> <p>This fix stopped working in some newer ASP.NET version or something, due to the code of the Rss20FeedFormatter changing to what you put in your post. This code change might as well have been an improvement for other stuff that IS in the MVC framework, but for those using the CDataSyndicationContent fix it definitely causes a bug!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload