C
C#2y ago
neSHa

❔ ✅ 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
14 Replies
Angius
Angius2y ago
Run a separate Node app Use Express or something, and call it with HttpClient That said, I'm curious why you need that Node code
neSHa
neSHaOP2y ago
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
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
neSHa
neSHaOP2y ago
somethink's off i can feel it 😥
Anton
Anton2y ago
what API? some proprietary stuff?
neSHa
neSHaOP2y ago
Kind of what I need to create, but what I use not
Anton
Anton2y ago
what? could you rephrase that my question was whether the api that manages the payments is proprietary
neSHa
neSHaOP2y ago
no
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
neSHa
neSHaOP2y ago
the payment can be only done through js. they provide just that. There is other options, but they dont have doc for that... 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 so i stuck with crypto xD
gerard
gerard2y ago
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.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
neSHa
neSHaOP2y ago
probably i will go that way, i don't have any other option as i can see /clsoe
Accord
Accord2y 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.
Want results from more Discord servers?
Add your server