In this course, we will cover the way to get started with asynchronous programming in .NET. You will learn how to apply these patterns in new and existing applications and you will see how to avoid the common mistakes.
Filip is an enthusiastic developer that strives to learn something new every day. His greatest passion is programming and ever since Filip was a little boy he has always strived to master it. All his community contributions has made Filip a Microsoft Visual C# MVP and a DZone Most-Valuable Blogger.
Introduction Do you feel puzzled when it comes to asynchronous programming and how that applies to your. NET applications? And whenever someone mentions the new async and await keywords, do you feel that you don't fully understand how that could apply to your applications? In this course we're going to conquer that and see how we can apply asynchronous programming in our. NET applications. My name is Filip Ekberg and I want to welcome you to this course on getting started with asynchronous programming in. NET.
Understanding the Need for Asynchronous Code Hi, this is Filip Ekberg and you're watching getting started with Asynchronous Programming in dot net. In this module, we'll focus on understanding the need for asynchronous code. We're going to explore the two applications that were looked at in the previous module and we're gonna see where asynchronous programming fits into the picture to make these applications a lot better and make our users a lot more happy.
Applying Asynchronous Programming in .NET Hi, this is Filip Ekberg and you're watching getting started with asynchronous programming in. NET. In this module we're gonna see how we can apply asynchronous programming in. NET. We'll see how we can take an application that is slow and behaves badly and introduce asynchronous principles and see how this can evolve into an application that feels a lot better and ultimately makes both us and our end users a lot happier. As opposed to the previous modules where we've seen legacy code transforming into being asynchronous, in this module we'll focus on applying the latest asynchronous principles in. NET and make use of the. NET Framework to help us achieve this. We have a lot of ground to cover in this module and we're gonna start off by talking about the Task Parallel Library also known as the TPL. We'll see how we can make use of the TPL to make our applications perform better and ultimately make use of all the resources that we have available to us. And we can't really introduce Task Parallel Library without talking about what actually happens once our asynchronous operations are completed. We'll see how we can introduce continuations inside our applications and see how the continuations may behave differently depending on how we set them up. Once we are comfortable with using the Task Parallel Library we'll see how we can create asynchronous methods by introducing the keywords async and await. We're going to see how the code transforms from looking a bit messy into looking a lot more linear and a lot more understandable. And finally, we're going to look at how to apply asynchronous programming in ASP. NET. We'll talk about how that might differ from how we use asynchronous programming in for instance a Windows application or a mobile application.
Deadlocking, State Machines, and What Really Goes On Hi, this is Filiip Ekberg, and you're watching Getting Started With Asynchronous Programming in. NET. In this module, we're going to talk about deadlocking, state machines, and what really goes on behind the scenes when applying asynchronous programming in. NET. We're going to peak inside this state machine, and see how the compiler behaves when we are adding the async and await keywords. And after taking a sneak peak inside the state machine, we'll get a better understanding of some of the common problems that we could face when applying async and await inside our dot and applications. We're also going to investigate what could potentially cause deadlocks, and how we could prevent these deadlocks from happening. So in this module, we're really going to focus on understanding what happens when applying the async in await keywords, and how that changes the behavior of our application.