MVP 2015 community Lecture Hall: Execute background tasks in ASP. NET applications, 2015 Lecture Hall
Yesterday afternoon, I shared a question with you at the MVP 2015 community lecture hall at Microsoft: Performing background tasks in ASP. NET applications. This is not a very high technology, and there is a little bit of technology sharing. However, I believe many people have encountered such problems.
Although it is a very simple technique, there are still a lot of students who come to the class. I would like to thank you again for your support.
In this article, I mainly introduced three solutions:
The basic usage of these three solutions is also demonstrated synchronously. However, the code is explained in a single article due to the on-site demonstration. However, the use of these three technologies is not complex, so you can take a look at the instructions in the official documentation and should be able to get started soon.
When demonstrating that WebJob is a reminder mechanism, some users may not understand the stored code, so I would like to add a sequence diagram here:
Below are some reference links provided in the PPT:
Mail sending code example: https://github.com/heavenwing/MailSender
QBWI: Reference 1, reference 2
Http://hangfire.io/
Recommended resources for Azure WebJobs
In addition, due to the time relationship, I only talked about developing an abstraction layer to adapt to different technologies under different deployment conditions, you have not seen the function that requires restarting in the task (that is, "resumable upload ").
Finally, the presentation PPT is shared in: http://pan.baidu.com/s/1eQpKURK