All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…
On Code Gallery, we have a plethora of samples that highlight aspects of the .NET Framework 4 that help with writing scalable and efficient parallel applications. This post examines each of those samples, providing an overview of what each provides.
I also couldn't locate the System.Xaml dll file or Microsoft.cSharp dll either unfortunately.
Thanks in advance,
Yes, these samples require Visual Studio 2010 and the .NET Framework 4.
Oh i see!
Well, i'll have to download the trial version to test it out then!
I was trying to look at the SpellChecker Code, to see if i could understand the code behind the ideas, but i wasn't able to view any code, is there any reason why?
You should be able to at least open the relevant .cs file in Visual Studio, and if nothing else you could always open it in notepad. Good luck!
Thats what i was doing earlier - i made a mistake - and forgot to check the Window1.xaml.cs file. My mistake there.
Thanks for your assistance, and thanks for uploading these great samples! (:
In some examples I find the serial routines to be faster than parallel.
Why is that?
Which example(s) in particular are you seeing the serial version run faster, and what's your machine configuration?
Somehow i lost the last comment. But i try again.
I tried several examples with same result. But lets take the ComputePI example.
Here SerialPI is faster than the parallelPI, but the ParallelPartitionerPi gives the fastest result.
I run windows 7 64bit, with a dualcore processor. I also tried it on vmware, same result.
Worst thing is that i tried to convince a friend of mine that parallel is the new thing, and he laughed about the results.