lets say i have class called x and y like this
class x { public x() { p(); } private async p() { await q(); } priva
I found the solution (that is i followed the instruction the @Richard gave )
and added Async="true" to my aspx page in side the Page tag(the one that looks like this <%@ Page %> )
Async="true"
<%@ Page %>
and it worked !