Summary

This chapter described how you can use the .NET Core worker template to implement a continuously running task. .NET Core workers are really useful in distributed systems to perform all of the asynchronous and event-based computations without an increase in the load of the server. 

The integration with Windows services and systemd also provides an efficient way to deploy and to run the worker. This chapter has given you an overview of the .NET Core worker service hosting models, and it showed how to set up and implement a worker service using .NET Core and how to run it on Docker. Finally, we saw how to integrate the BackgroundService class capabilities with the previously implemented item sold-out message integration.

The next chapter will cover some of the common security practices provided and implemented by .NET Core.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.196.211