C
C#5mo ago
engineertdog

C# executed in NodeJS

I have a 3rd party vendor SDK that's written in .NET Framework. They're working on a NET Core version, but I'd still like to look at the possible usage with NodeJS. Are there any performance or other issues to worry about? The main reason I look to use the vendor's SDK instead of their API is performance between the technologies they offer, where the API is based on the SDK and is much slower to use.
6 Replies
engineertdog
engineertdog5mo ago
I also had started a project for .NET Core with a Blazor frontend, but since I can't use their .NET Framework SDK with Core, it makes development a bit more difficult. Plus, I'm much more familiar with frontend development with VueJS
Angius
Angius5mo ago
I mean, you can write a wrapper CLI app around the Fx SDK and call it from Core, or indeed, even Node Not sure why you'd want to downgrade from .NET to Node, but it is possible
engineertdog
engineertdog5mo ago
The frameworks between frontend<->backend are much cleaner and provide better functionality. Frontend development is also 10x what Blazor is But, do you have some examples of wrapping the SDK in a CLI I could use in Core? If I do that, then I could skip a lot of this extra work
Angius
Angius5mo ago
If the SDK is only distributed as a Framework library then no, you cannot use any modern .NET You're limited to building an antique around a relic
engineertdog
engineertdog5mo ago
Yeah, it's a 32-bit 4.7 library
Angius
Angius5mo ago
Then you make a 4.7 console application, reference the SDK, and expose whatever functionality you need
Want results from more Discord servers?
Add your server
More Posts