Answer the question
In order to leave comments, you need to log in
How to make a parallel thread in asp.net mvc?
I want to make a site that parses photos from Yandex.pictures or other similar sites once a day. As I understand it, my parser should be in a separate thread, which, according to a timer, will parse information to me once a day. How to do it? How to create a separate thread in an mvc application outside of a controller?
Answer the question
In order to leave comments, you need to log in
There are two options:
1. Write a separate console application that will parse and fill in the database, and then run this application with the usual OS scheduler.
2. Use asp.net scheduler: https://www.quartz-scheduler.net/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question