C#
C#

help

Root Question Message

neSHa
neSHa1/29/2023
❔ ✅ node in asp.net

Hello, I'm building asp.net MVC app and in on part I need to run some server side js code
Now I tried node service and it worked but not fully. Only one script can be runned at a time, so when one script is processing if any other user try to run it it gives an error. Does anyone have any advice what can I do
Angius
Angius1/29/2023
Run a separate Node app
Angius
Angius1/29/2023
Use Express or something, and call it with HttpClient
Angius
Angius1/29/2023
That said, I'm curious why you need that Node code
neSHa
neSHa1/29/2023
Creating some payment methods using crypto that doesn't have c# implementations. Only js, and for that reason I need server side, so node is one option
tebeco
tebeco1/29/2023
:facepalm:
neSHa
neSHa1/29/2023
somethink's off i can feel it 😥
AntonC
AntonC1/29/2023
what API?
AntonC
AntonC1/29/2023
some proprietary stuff?
neSHa
neSHa1/29/2023
Kind of what I need to create, but what I use not
AntonC
AntonC1/29/2023
what?
AntonC
AntonC1/29/2023
could you rephrase that
AntonC
AntonC1/29/2023
my question was whether the api that manages the payments is proprietary
neSHa
neSHa1/30/2023
no
tebeco
tebeco1/30/2023
ok so i'll be more direct
tebeco
tebeco1/30/2023
people are probably asking for context
tebeco
tebeco1/30/2023
more than yes/no
tebeco
tebeco1/30/2023
(probably)
tebeco
tebeco1/30/2023
but also ... why couldn't it simply be .net
tebeco
tebeco1/30/2023
they are not asking yet "why would anyone invest in crypto more time in 2023" (not yet at least)
neSHa
neSHa1/30/2023
the payment can be only done through js. they provide just that. There is other options, but they dont have doc for that...
neSHa
neSHa1/30/2023
So first i wanted to make it with stripe, its 100% easier. but i live in country where stripe and other payments like paypal. are not available
neSHa
neSHa1/30/2023
so i stuck with crypto xD
gerard
gerard1/30/2023
Wasn't Node Services deprecated? Maybe you should look into https://github.com/JeringTech/Javascript.NodeJS.
They also claim that the invoke methods are thread-safe.
tebeco
tebeco1/30/2023
Wasn't Node Services deprecated
it is
tebeco
tebeco1/30/2023
i would honnestly built it in express
tebeco
tebeco1/30/2023
and expose an API over it instead of attempting node in .net
neSHa
neSHa1/30/2023
probably i will go that way, i don't have any other option as i can see
neSHa
neSHa1/30/2023
/clsoe
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy