C
C#8mo ago
MaorZ

❔ Node.js intergration with C# algorithm

Hello, I am trying to make a Web Server for my API and I have my algorithm built in c# and my server in node.js. My question is, Do I need to remake the web server with c# to communicate with the functions or I can somehow run them from my node.js web server? Thanks in advance.
4 Replies
x0rld
x0rld8mo ago
you can make a minimal api in C# and call it from nodejs
MaorZ
MaorZ8mo ago
I thought about this but its pretty much the same like remaking the main one.
Angius
Angius8mo ago
Why not just make the APi with C# and skip the Node part entirely? Alternatively, I guess you could turn your C# project into a console app, and call that with JS
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.