Windows service, using async method, is there a need?

Asked

Viewed 47 times

2

In my system, I have some auxiliary routines, which are fired at defined times, outside of work hours.

These routines are run by a Windows service program.

Would you need to run these asynchronous services? That is, using methods async?

So I know the main reason for using methods async is not to lock the user screen while running some task.

Now, for service I see not so much reason to use such methods.

1 answer

3


It doesn’t have many details, but I would say no. In general the asynchronicity is to improve the user experience, which in the case does not exist. Of course it could have the need if this service responded to several simultaneous users, but it does not seem to be the case.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.