Quantcast
Channel: Load SyndicationFeed and async/await - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Etienne Charland for Load SyndicationFeed and async/await

Your solution is not using async/await, has too much code, and I suspect your approach is prone to deadlocks under certain scenarios.Simply do thisvar reader =...

View Article



Answer by NoWar for Load SyndicationFeed and async/await

Ok folk, here is working solutionprivate void GetRSS(string rssUrl) { Task.Factory.StartNew(() => { using (XmlReader r = XmlReader.Create(rssUrl)) { SyndicationFeed feed = SyndicationFeed.Load(r);...

View Article

Load SyndicationFeed and async/await

Can we read RSS by async/await?XmlReader reader = XmlReader.Create("http://localhost/feeds/serializedFeed.xml");SyndicationFeed feed = SyndicationFeed.Load(reader);Any clue?

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>