Johnny Mo
Johnny Mo

Reputation: 61

Is there an equivalent of Node.js for .NET developers?

I'm a .NET developer and would like to use something like Node.js and run it in the Microsoft cloud. Is there an equivalent? I know Microsoft is helping port this over but no sign of when this will happen and I need something in the meantime.

Upvotes: 6

Views: 3170

Answers (5)

Kendar
Kendar

Reputation: 710

Hi i started the development of a Node.Cs like server with support for .NET MVC Controllers, Razor etc. Just to explain, is based on a system like Node.Js with few threads, without locks and with a queue of couroutines.

PS any suggestion or correction is welcome!

Upvotes: 0

Tony Chow
Tony Chow

Reputation: 61

Why would you need Node.js when .NET has supported event-driven async IO from the very beginning? (Look at the all the .Begin/.End methods in the IO and web request classes).

Furthermore, the explicitly event-driven approach used by Node.js and the .NET APM (Asynchronous Programming Model) will soon be superceded by the async/await keywords in C#. This has the benefit of producing much more readable code.

Upvotes: 6

yojimbo87
yojimbo87

Reputation: 68275

Try to look at manos and it's manifesto article.

Upvotes: 0

Daniel Baulig
Daniel Baulig

Reputation: 10989

Actually a port of node to windows is already underway and currently actively worked on. You can already download a windows build of node on the official page. It is however still far from beeing production ready, but you should be able to play around with it.

Upvotes: 1

Kev
Kev

Reputation: 119806

There's a couple of projects under way:

https://github.com/dnewcome/Node.net

https://github.com/Rduerden/Node.cs

I couldn't vouch for their completeness.

I'd also have a read of this post by Ayende, the comments are particularly interesting:

http://ayende.com/blog/72705/node-cs

Upvotes: 7

Related Questions