The latest version of .NET Core includes a simple and convenient way to implement background processes. Moreover, starting from version 3.0, it is possible to create new projects using an out-of-the-box template for worker services. .NET worker services are suitable for multiple use cases. Furthermore, the increasing adoption of cloud technologies and distributed systems also involves event-driven communication between services, which requires the implementation of background processes. This chapter walks through some of the concepts and use cases of the worker services tools provided by ASP.NET Core. We will also have a look at how to integrate the worker service capabilities of ASP.NET Core to consume the ItemSoldOut event queue implemented in the previous chapter.
This chapter covers the following topics:
- Introduction to worker...