I have tried something with node.js in windows vista/IIS 7 using iis node. My idea is to use a server script on the asp .net mvc application to connect to another socket server and serve requests on a persistent fashion.
I downloaded the iisnode version at https://github.com/tjanczuk/iisnode for IIS 7 and able to run the basic 'hello world' http server pipe using http handler mappings in web.config and IIS modules configuration.
I am trying to use socket.io library from node.js. This works independently if I write a server and client. But fails when used with IIS node.
I am having problems going down further. Problems like
- How to include the npm modules in the asp .net mvc project? I tried putting the node_modules in the folder of node scripts, but that did not help. Basically the require('socket.io') command works, but the socket connection etc., simply fails.
- How to have a socket connection from client which will keep listening for updates from server(like COMET) - As I said I am trying to use socket.io
Any body tried this before?