Wednesday, 3 May 2017

How to start socket.io server listener into MVC Web API application

I want to use socket.io as alternate for SingalR, I have created a simple socket.io application and it's working fine, but I need to run commands in command prompt. Like, $ node index.js to start socket.io listener. How I can do the same in .MVC WebAPI application(C#).

My requirement is, I want to start socket.io listener server and multiple clients will connect to the server, I have a method as CreateOrder, once my order creation process will complete I'll send notification to some selected clients among clients connected to socket.io server.



via Shrikant Bhusalwad

No comments:

Post a Comment