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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -