Tag Archives: asynchronous

Asynchronous task in webforms

Questions: i am facing some problems in calling authorization task using powerbi api.It throws AggregateException exception at Authorize().Wait();.I also googled it but unable to find any solution for this. Any help would be appreciated. Here is my code for Page_Load function protected void Page_Load(object sender, EventArgs e) { credential = new UserCredential(Username, Password); Authorize().Wait(); using… Read More »

How to read in an XML file asynchronously?

Questions: I am writing a Windows Form Application for data post-processing. I have a panel where I allow for files to be dragged and dropped. The XML files will be quite large (enough to slow the UI down). Therefore I would like to read the file in asynchronously. So far for this part of the… Read More »