TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Moving from Node.js to ASP.NET Core

98 pointsby asp_netabout 8 years ago

12 comments

untogabout 8 years ago
Just to throw out the obvious: it should be trivial to get some old Node code up and running, particularly if you don&#x27;t mind using an old runtime version. If you&#x27;ve run npm shrinkwrap you have a log of the exact versions of each package used. You don&#x27;t have to use ES6 or Typescript, you can keep on trucking the same as you ever did.<p>It sounds like the author was an ASP.NET developer, dabbled a little in Node, then worked with Xamarin (also .NET) then moved to ASP.NET Core. Nothing wrong with any of that, but it only stands to reason you&#x27;ll find ASP.NET easier to work with than Node when you&#x27;ve used it extensively and Node not very much at all.
评论 #14019562 未加载
muse900about 8 years ago
I personally find the title could better be worded &quot;Moving my blog from Node.js to ASP.NET&quot; or &quot;I just found out that ASP.NET got much better than it used to be&quot;<p>When I first read the title I thought it was a node.js dev moving to ASP.NET.<p>TL;DR The poster of the blog found out that ASP.NET fits his needs better, since he seems more capable on that bit etc and he wants to highlight that ASP.NET has improved a lot towards supporting other platforms than Windows and other capabilities other than webforms etc.
Avalaxyabout 8 years ago
&quot;very mature und stable&quot;<p>Sorry but please don&#x27;t spread these kind of lies. I love .NET Core to death, but the ecosystem is VERY immature. Just today I have been trying to authenticate with the Azure API for 8 hours because:<p>1) There is barely any support for .NET Core in the Azure SDK.<p>2) The documentation on the website is very outdated and does not take .NET Core into account. For example the documentation about Table Storage is talking about a TableQuery function that does NOT exist for .NET Core (and this isn&#x27;t mentioned anywhere), the Azure Webjobs SDK does NOT support .NET Core (again, never mentioned anywhere).<p>3) .NET Core itself and the tooling surrounding it is full of bugs still. Yesterday I&#x27;ve been trying to reference the TableEntity class in my file, but VS couldn&#x27;t find it anywhere. I&#x27;ve been trying really hard to get it working, even decompiling the source code to see what&#x27;s up, but in the end apparently I just had to unload the project and reload it.<p>Developing for .NET Core is still very, very, very painful. So many things will break and will not be supported (yet).
评论 #14019429 未加载
planetjonesabout 8 years ago
He moved from a dynamically served website using node.js backed by mongo DB to a website that reads markdown files in asp.net and renders them. The website is his personal blog. Alternatively the author could have used Hugo and generated his site statically before deploying it.
git-pullabout 8 years ago
There&#x27;s absolutely nothing wrong with having a static website, but there are already tools like pelican, hugo, jekyll, sphinx and stuff that are better suited for it. So while I&#x27;m happy for the person&#x27;s effort and that he got to use Azure, the more glaring thing is I suspect he could be happier using a static site generator.<p>Also Armin Ronacher released a new one late 2015, Lektor. <a href="https:&#x2F;&#x2F;www.getlektor.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.getlektor.com&#x2F;</a><p>Show me a team replacing their medium-sized django or rails website with ASP.net Core. Or a YCombinator startup huddling up to their screens late at night in Visual Studio pushing code to azure. And them shipping and making customer&#x27;s happy.
taurathabout 8 years ago
Rather lacking in details on what actually went wrong. Then, instead of figuring it out the best solution is just to switch stacks? Seems a bit.. lazy to me.<p>Tons of breaking changes between 2 years ago node and current stable node.. that&#x27;s like.. 0.12.x to 6.x? Is it a package issue? I&#x27;ve not had a problem as long as my package config was the same.
YCodeabout 8 years ago
One critical thing I don&#x27;t feel the article answers is why you would want to move to .NET, what the advantages are over Node.js, TypeScript et al.<p>I don&#x27;t mean this as criticism, I&#x27;m working on some Node&#x2F;TS projects and I&#x27;m very interested to hear the strengths .NET has over Node.
评论 #14039057 未加载
评论 #14021618 未加载
mmargerumabout 8 years ago
Do you really need to stick a an animated gif in the middle of the article?<p>The one thing I would say about JS on the server is writing EJS templates is much faster than something like razor.<p>Otherwise, go trumps node in every other way.
jinglebellsabout 8 years ago
Why weren&#x27;t they using nvm? Did they have a build server? I&#x27;m confused how it suddenly stopped working, but TBH I got a bit confused and bored.
detayabout 8 years ago
Just did the opposite. So far so good.
评论 #14019707 未加载
throwayedidqoabout 8 years ago
I can&#x27;t figure out the circle jerk around Node. Debugging sucks A LOT, JS syntax sucks, single thread sucks, NPM is filled with 95% junk.<p>Python, Java, golang, C#, and maybe even PHP have more mature and reasonable stacks.
评论 #14019250 未加载
评论 #14020221 未加载
评论 #14019277 未加载
评论 #14019380 未加载
评论 #14019487 未加载
igtztorreroabout 8 years ago
Are you crazy ??????