I have a Rest Asp.net Web API server running.
From my web form asp.net app, I need to consume one of them.
So in the button click event, I called following method...
private async Task FireAndForget() {
using (HttpClient httpClient = new HttpClient())
{
blahblah..
httpClient.PostAsync(WebAPIUrl, content)
}
blahblah..my different logic processing...blahblah..
}
Since I don't really need to wait for any returning ...
Go to the complete details ...