Async samples with RC of VS2012
Hi,
I installed the RC and fired up the async sample library that can be found
http://www.linqpad.net/RichClient/SampleLibraries.aspx
I think the samples are now outdated. I'm I correct that the only differences that you have to replace TaskEx with Task?
I just started and that seems to the only diff till now
Kind Regards, Tom
I installed the RC and fired up the async sample library that can be found
http://www.linqpad.net/RichClient/SampleLibraries.aspx
I think the samples are now outdated. I'm I correct that the only differences that you have to replace TaskEx with Task?
I just started and that seems to the only diff till now
Kind Regards, Tom
Comments
Run() does not show up in the list as in
Task.Run(() => Console.WriteLine("zear") );
I've included the ns System.Threading.Tasks so I expect it to show
It turns out you can use System.Net.Http.HttpClient with little modification and it supports cancellation.