0

Is there any way to load and parse xml asynchronously / parallely in asp.net mvc using .net 4.5 (not using jquery) ?

I need to load xml from 5-6 diff sources and then parse them combine results and then push to view.

Some examples show loadFromUriAsync in XmlDocument , but that function doesnt show in visual studio.

knowledgeseeker
  • 1,163
  • 4
  • 15
  • 32
  • 1
    Usually you won't benefit from parallel CPU-bound processing in ASP.NET, unless your server workload is *really* low (i.e. there are very few concurrent requests from the clients). Check this for some more details: http://stackoverflow.com/a/22292403/1768303 – noseratio Mar 15 '14 at 23:00
  • Parsing XML is CPU-bound. You could load the content asynchronously from those sources and parse it into and XmlDocument or you could use a XmlReader which has a TAP asynchronous API. – Paulo Morgado Mar 16 '14 at 19:27

0 Answers0