Parallel Extensions: Building Multicore Applications with .NETVersion: 1.1.0 DescriptionMicrosoft's Parallel Computing Platform (PCP) is providing tools enabling developers to leverage the power of Multicore processors in an efficient, maintainable, and scalable manner. Parallel Extensions to the .NET Framework brings several important concepts into this toolset. In this Hands-On Lab, you will learn how to parallelize an existing algorithm by using the static Parallel helper class, create and run Tasks, use the Future<T> class to create and run Tasks that return a value and use Parallel LINQ (PLINQ) to optimize LINQ queries to exectue in a parallel environment. OverviewModern computers have seen explosive growth in the number of processors and cores available for systems running on them. System developers can take advantage of this power in a number of ways in their software, particularly when working on complex algorithms or large sets of data. Microsoft’s Parallel Computing Platform (PCP) is providing tools enabling developers to leverage this power in an efficient, maintainable, and scalable manner. Parallel Extensions brings to the .NET Framework several important concepts into this toolset: imperative and task parallelism via the Task Parallel Library (TPL), and Parallel LINQ (PLINQ), which gives developers a declarative way to deal with data parallelism. ObjectivesIn this Hands-On Lab, you will learn how to:
System RequirementsYou must have the following items to complete this lab:
SetupAll the requisites for this lab are verified using the Configuration Wizard. To make sure that everything is correctly configured, follow these steps.
ExercisesThis Hands-On Lab is comprised by the following exercises:
Estimated time to complete this lab: 60 minutes.
Note:
Each exercise is accompanied by an End folder containing the resulting solution you should obtain after completing the exercises. You can use this solution as a guide if you need additional help working through the exercises.
Note:
Each exercise contains a Visual Basic and a C# version; Inside the End/Begin solution folder you will find two folders: VB, containing the Visual Basic version of the exercise, and C#, containing the C# version of it.
Next Step:Exercise 1: Parallelize an Existing Algorithm using the Static Parallel Helper Class |