DEV Community

Cover image for NodeJS vs ASP.NET (core)
Ahmed Abdelhak
Ahmed Abdelhak

Posted on

NodeJS vs ASP.NET (core)

Hello everyone,

first of all, i wish all of you a happy holiday :)

Some people claim that NodeJS is worth to learn, while others say that,

.Net Core with web assembly will end the era of Javascript !

What do you think of the future for the dominant open source Tech ?

Top comments (10)

Collapse
 
artigas profile image
Manuel Artigas

Happy New Year, Ahmed.

Node.js has incredible performance for I/O apps and I think that it's easier to start with if you are a front-end dev (with experience using JS, of course).

Nonetheless, .NET Core is a better option if you want to set up a web API.

I would make an app in React (PWA) with a light back-end in Node.js just for parsing responses from an ASP.NET Core Web API.

Maybe, .NET Core will end the reign of Java in the "back-end world", but JavaScript is part of the web standard.

Collapse
 
ahmedabdelhak profile image
Ahmed Abdelhak

Thanks a lot Manuel for participating in this discussion :)

I really appreciate your comment and recommendations :)

But, what do you think of building a completed API with GraphQL using NodeJS , would it be better than using ,NET core, instead ?

Collapse
 
artigas profile image
Manuel Artigas

If it's consuming static data from DB, Node.js + GraphQL indeed would be better than .NET Core + GraphQL (on paper).

But, what about non-static data GraphQL API? Maybe you can manage some data processing directly from the DB but I truly don't know if this is a good practice for everything I don't think it's possible to handle everything on it.

In fact, I'm working on a project where back-end would be a .NET Core + GraphQL API and front-end would be a React app with a simple Node.js server (express) for the requests.

I think it would be fun to build both options to compare performance but I need to figure out what tasks I would code to make back-end work hard processing data.

Thread Thread
 
ahmedabdelhak profile image
Ahmed Abdelhak

Great :)

I wish you all the best with your current project :) and of course waiting your nice Feedback!

Thanks a lot Manuel :)

Collapse
 
wessamyaacob profile image
Wessam Yaacob

Could you please share with us a link about how to build Node.js for parsing responses from ASP.Net core web api and what is the benefit from using this technique :) .

Collapse
 
jeffersonmf profile image
Jeffersonmf

techempower.com/benchmarks/#sectio...

Find Dot Nevers Core in this list !!!

HAHAHAHAHAHAHAHAHA

Collapse
 
raymsdev profile image
Rayms

In fact, dotnet core is #41 called aspcore in this list while nodejs is #71 which is respectable.

Collapse
 
mknight492 profile image
Mknight492 • Edited

not to mention that is node without a framework - express is #134

Collapse
 
chenge profile image
chenge • Edited

MS loves to invent many tech names.
If it's me, I'd like to choose Node.(sorry, not know .net core)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.