Hi @Yihui Sun-MSFT ,
In your opinion, which would be a best approach Func<...>, Action<...>, or Expression<...>?
Appreciate if you can point to me to an example to have an idea.
Regards,
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am looking on how to implement a CallBack Handler to a Web API Controller. I basically need to process the response send back by my external client.
I basically want to call the WebAPI controller from my portal so that I can place/initiate a Request to my external client. Once this client does the required actions at their end, they will need to send a CallBack so that I can process the response.
Appreciate a feedback on the above.
Regards
SSP
Hi @Yihui Sun-MSFT ,
In your opinion, which would be a best approach Func<...>, Action<...>, or Expression<...>?
Appreciate if you can point to me to an example to have an idea.
Regards,
Hi @Yihui Sun-MSFT ,
Thanks for getting back. Yes you are correct we are using Web API (Client B) as the Service Layer. However the Call from A (Web Portal) to B is through client side ($.Ajax).
The External Client (C) is a public enitity which we are integrating with through their SDK i.e. Call from B to C is from the WebAPI through the external client's SDK. So we are not using HttpClient to send request between Client B & Client C.
So the whole idea is for the Client C to have a Callback to Client B (Web API) in order to provide with the Response once they are done.
Thanks.