Communicating between Node.Js and ASP.NET MVC Application?

I'm not an ASP.NET expert, but I think there are multiple ways you can achieve this: 1) As you said, you could make Node listen on a specific port for data and then react based on the data received (TCP) 2) You can make POST requests to Node. Js (HTTP) and also send an auth-key in the process to be extra-secure. Like on 1) Node would react to the data you send.

3) Use something like Redis for pub-sub, send messages from ASP.NET (pub) and get them on the Node. Js part (sub). This is even better if you want to scale your app across multiple machines etc.

You can try to look at redis pub/sub model where ASP.NET MVC application and node. Js would communicate through separate channels in order to achieve full-duplex communication. Or you can also try to use CouchDB change nofitications.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions