T
T
ta42014-04-05 00:16:27
ASP.NET
ta4, 2014-04-05 00:16:27

ASP.NET MVC4. How to run a task in the background?

I need some data to be constantly calculated in the background on the server, and clients can see the progress of execution when accessing the control. How to implement this in MVC4?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kokcuk, 2014-04-05
@Kokcuk

It is better to do this using a separate windows service, and already access it from a web application.
Of course, you can implement a background task inside the mvc application, but this is not very good, for example, iis likes to complete tasks and restart them at its own discretion.

N
Nikolai Turnaviotov, 2014-04-10
@foxmuldercp

Please describe better.
Perhaps there are other options for its formulation and solution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question