News for hackers. Stuff that matters.
Re:Using Node.js in an ASP.NET MVC application with iisnode by virmundi on Thursday October 27, 2011 @07:08AM (#3162480)
My understanding is that IIS is thread based. So wouldn't using it as a host/balancer inherently cripple Node? I mean I get the benefit of the possible inter-op with .NET. However, I, and perhaps this is because I come from a Java background so I make things hard, would use Node.exe, but would have everything talk in more of an SOA manner. Node uses itself and other tools that are good for load balancing a tool like it and .NET talks to Node via services.

What am I missing?

Re:Using Node.js in an ASP.NET MVC application with iisnode by stevensanderson on Thursday October 27, 2011 @08:07AM (#3162620)
IIS isn't blocking any of its threads once it's handed a request off to Node.js. IIS receives the incoming connection and proxies it via a named pipe into the Node.exe process, so the performance and capacity is much the same as if the requests went directly to Node.
Re:Using Node.js in an ASP.NET MVC application with iisnode by virmundi on Thursday October 27, 2011 @11:08AM (#3163469)
Thanks for the reply. It's interesting to so how MS is trying to involve themselves in public, interesting research.
Re:Using Node.js in an ASP.NET MVC application with iisnode by kogir on Wednesday October 26, 2011 @10:38PM (#3161387)
Wow, this is exactly what I need for a project I'm working on right now.

It's rare incredibly rare for Windows ports of *nix open source projects to be so well integrated. It runs native code using IOCP and there exists IIS and IIS Manager support.

This is awesome!

Re:Using Node.js in an ASP.NET MVC application with iisnode by drmohundro on Thursday October 27, 2011 @11:04AM (#3163446)
Agreed - I'm hopeful that npm can see some love on Windows as well. As more and more utilities take advantage of node that aren't strictly web-related, having first-class npm support on Windows will be even more helpful.
Re:Using Node.js in an ASP.NET MVC application with iisnode by smhinsey on Wednesday October 26, 2011 @11:02PM (#3161448)
This is really interesting. I'm just getting started on a project with a lot of web front end that's targeted at Azure. I had been planning on using ASP.NET MVC with Razor, but I think node makes a lot more sense.
Re:Using Node.js in an ASP.NET MVC application with iisnode by daniel_levine on Wednesday October 26, 2011 @11:34PM (#3161513)
you might want to check out AppHarbor as well if you're interested in integrated with other non-MS services and also to check out the platform.
Re:Using Node.js in an ASP.NET MVC application with iisnode by smhinsey on Friday October 28, 2011 @12:50AM (#3167043)
I actually already have a beta account and have checked it out. It looks promising, but this is one of those political situations. I think AppHarbor will probably end up replacing AWS as our second platform though.
Re:Using Node.js in an ASP.NET MVC application with iisnode by MatthewPhillips on Wednesday October 26, 2011 @11:40PM (#3161527)
I echo the approval of AppHarbor. They have integrated with Bitbucket so that when you push it triggers a rebuild/deployment.
Re:Using Node.js in an ASP.NET MVC application with iisnode by retrovirus on Thursday October 27, 2011 @05:09AM (#3162232)
Well, it takes a while but it's great to see native Windows ports of more or less game changing projects like Node and Hadoop (http://arstechnica.com/business/news/2011/10/microsoft-makes...). Although I guess the fact that innovation happens ever more often in non-Microsoft land is telling enough.
Re:Using Node.js in an ASP.NET MVC application with iisnode by euroclydon on Wednesday October 26, 2011 @10:27PM (#3161376)
Is there a particular flavor of web socket or comet that popular with node?
Re:Using Node.js in an ASP.NET MVC application with iisnode by cjfont on Wednesday October 26, 2011 @11:08PM (#3161456)
Take a look at Socket.IO
Re:Using Node.js in an ASP.NET MVC application with iisnode by glenn_block on Wednesday October 26, 2011 @11:50PM (#3161556)
As cjfront is saying, Socket.IO supports Web Sockets, Flash sockets and long polling. The nice thing is it detects the capabilities of the browser and gracefully degrades.
Re:Using Node.js in an ASP.NET MVC application with iisnode by CosmicShadow on Wednesday October 26, 2011 @10:13PM (#3161342)
great to finally see something like this!