This repository contains the labs for the "Asynchronous and Parallel Programming in C#" workshop.
For a full description of the workshop, please refer to the original event link.
- Visual Studio LIVE! Las Vegas (March 2023)
https://github.com/jeremybytes/vslive2023-lasvegas - Visual Studio LIVE! San Diego (August 2023)
https://github.com/jeremybytes/vslive2023-sandiego - Visual Studio LIVE! Orlando (November 2023)
https://github.com/jeremybytes/vslive2023-orlando
Basic understanding of C# and object-oriented programming (classes, inheritance, methods, and properties). No prior experience with asynchronous programming is necessary; we'll take care of that as we go.
-
You must provide your own laptop computer (Windows or Mac) for this hands-on lab.
-
You need to have the .NET 6 SDK or .NET 7 SDK installed as well as the code editor of your choice (Visual Studio 2022 Community Edition or Visual Studio Code are both good (free) choices).
-
Interactive labs, web application samples, and console samples will work with Windows, macOS, and Linux (anywhere .NET 6/7 will run).
-
WPF desktop samples will only work on Windows machines. There are equivalent web and console examples for these projects.
-
.NET 7.0 SDK https://dotnet.microsoft.com/en-us/download
-
Visual Studio 2022 (Community) https://visualstudio.microsoft.com/downloads/ Note: Install the "ASP.NET and web development" workload for the labs and samples. Include ".NET desktop development" for "digit-display" sample and WPF-based samples.
-
Visual Studio Code https://code.visualstudio.com/download
This folder contains hands-on labs. The labs are integrated throughout the workshop day.
- Lab 01 - Recommended Practices and Continuations
- Lab 02 - Adding Async to an Existing Application
- Lab 03 - Parallel Practices
- Lab BONUS - Working with AggregateException
- Lab BONUS - Unit Testing Asynchronous Methods
Each lab consists of the following:
-
Labxx-Instructions (Markdown)
A markdown file containing the lab instructions. This includes the scenario, a set of goals, and step-by-step instructions.
This can be viewed on GitHub or in Visual Studio Code (just click the "Open Preview to the Side" button in the upper right corner). -
Starter (Folder)
This folder contains the starting code for the lab. -
Completed (Folder)
This folder contains the completed solution. If at any time, you get stuck during the lab, you can check this folder for a solution.