c# - WCF or ASP.NET 5 WEB API to create service for simple social network? -
i beginner in .net, , write simple social network. better: wcf or asp.net 5 web api create service? , problem: how make two-way communication between service , client (when user1 sends message user2, user2's message box has change)? far know, in wcf callbackcontract can used, , how in web api?
i grateful answer :)
i recommend wcf's inbuilt capability if want 2 way communication.
but scenario have given talking end users , not clients, today want send message user 2, tommorrow user3,user4 , on.
so if want collect input 1 of end user through whatever means prefer , broadcast set of users should user signalr.
Comments
Post a Comment