Is it possible to use async / wait in the asmx webmethod service?

I am trying to figure it out, but have not yet succeeded. Is it possible to use async / wait in the asmx webmethod service? What I have found so far is that async / await can only be used in the WCF service (rest or something else).

+8
asynchronous async-await asmx webmethod
source share
1 answer

It is a bad idea. You are basically trying to use a modern language feature with legacy technology - when .asmx was introduced, the concept of asynchronous services was not established.

The answer may be here:

Is there a way to handle async / wait behind an ASMX service?

I would say that it is attached to WCF or WebAPI.

+3
source share

All Articles