I'm a .NET developer and would like to use something like Node.js and ru开发者_运维知识库n 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.
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
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.
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.
Try to look at manos and it's manifesto article.
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!
- Documentation
- MvcMusicStore sample port on Node.Cs
- Packages on Nuget
精彩评论