我应该学习node.js还是留在ASP.Net后端? [英] Should I learn node.js OR stay with ASP.Net for back end?

查看:508
本文介绍了我应该学习node.js还是留在ASP.Net后端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我在使用C#和ASP.NET(winforms / webforms以及很快MVC)方面做得很好,我可以制作小型简单的浏览器游戏或Windows游戏。接下来我将学习HTML ,CSS和javascript所以我会很好的前端开发。事情是我想要后端也是完整的。我应该坚持使用asp.net(我已经熟悉并花了这么多个月)或者我应该学习节点.js作为更好的解决方案?我知道甚至bing使用node.js.



谢谢

Hello,
I m in a good path with C# and ASP.NET(winforms/webforms and soon MVC) which I can make small simple browser games or windows games .Next I will learn HTML,CSS and javascript so I will be good with front end developing.The thing is I want back end also to be complete.Should I stick with asp.net(which I m becoming familiar and spent so many months) or should I learn node.js as better solution?I know that even bing uses node.js.

Thank you

推荐答案

我现在说要坚持使用C#ASP.NET。

真正精通它,从内到外了解它。

最好是擅长一件事而不是要了解一些关于两件事的事情(当然,在一件事情上真的很擅长并且知道其他一些事情更好:)),所以我建议你坚持使用C#ASP.NET。

之后尝试一些Node.js如果你想要的话。

当然,除非你现在需要Node.js用于工作或者s omething。



如果你使用Node.js,C#ASP.NET,PHP或者你有什么,你会发现它并不重要。

您有一个(REST)服务器侦听请求,处理它们并发送响应。

无论您是在C#ASP.NET还是Node.js中执行此操作实际上与您的前端无关 - 最后,用户永远不会知道。

事实上,作为一名C#ASP.NET MVC开发人员,我在几个小时内就开始运行Node.js(真正精通它需要更多的时间当然)!



当然,C#ASP.NET和Node.js之间存在一些差异(当然它是一种不同的语言,但也有整个网络在Node.js中是单线程的服务器,但我倾向于将它们视为大图中的细节。两者都需要HTTP(S),JavaScript,JSON和HTML的知识,尤其是当你完全堆栈时。

尽管如此,Node.js并不比C#ASP.NET好,但它完全不同。



如果你真的想开始使用Node.js我可以推荐我自己的博客系列: MEAN web development [ ^ ]。
I'd say stick to C# ASP.NET for now.
Get really proficient with it, know it inside out.
It's better to be really good at one thing than to know a little bit about two things (of course it's even better to be really good at one thing and know a bit about something else too :)), so I recommend you stick to C# ASP.NET.
After that try some Node.js if you want.
Unless, of course, you need Node.js now for a job or something.

You'll find that it doesn't really matter if you use Node.js, C# ASP.NET, PHP or what have you.
You have a (REST) server listening for requests, handle them and send a response.
Whether you do that in C# ASP.NET or Node.js is actually irrelevant for your front-end, the user will never know.
In fact, as a C# ASP.NET MVC developer I was up and running with Node.js in a few hours (getting really proficient with it takes more time, of course)!

Sure, there are some differences between C# ASP.NET and Node.js (of course it's a different language, but there's also the whole web server which is single threaded in Node.js), but I tend to see them as details in the big picture. Both require knowledge of HTTP(S), JavaScript, JSON and HTML, especially when you do full stack.
Having said that, Node.js is not better than C# ASP.NET, it's simply different.

If you'd really like to start out with Node.js I can recommend my own blog series: MEAN web development[^].


这篇关于我应该学习node.js还是留在ASP.Net后端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆