I'm looking for a way to do a client callback/duplex function from a IIS hosted Web API w/a Windows PC .NET client. Right now I'm considering a in-process Web API hosted from w/in the client to receive messages.
What other approaches can I look at for achieving this? While old school WCF has this functionality, this API is the future. Instead of polling, what type of mechanism could allow for a push type notification from the web api on iis to a .net windows client?
For great support for the real-time web please use ASP.NET SignalR:
We recommend using SignalR for notification and callback patterns: https://github.com/SignalR/SignalR.
Going forward we plan to productize SignalR and integrate it with ASP.NET Web API.