E
E
EgaMen2017-06-25 16:02:02
ASP.NET
EgaMen, 2017-06-25 16:02:02

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

1 answer(s)
Z
Zelimkhan Beltoev, 2017-06-25
@EgaMen

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 question

Ask a Question

731 491 924 answers to any question