Reputation: 145
I want to ask if it's possible to use ASP.NET and node.js together for the server side of my app ?
Example: website which is a game and it will have chat before the game starts that will be build on node.js and when the game starts asp.net will be used for the CPU intensive tasks.
Upvotes: 0
Views: 62
Reputation: 1057
There is no reason to use both ASP.NET and node , since those 2 are interchable and resource wize would be a waste. node could cover all of your needs and putting an IIS especially wiht a scale of several servers would be a waste. you could use express for the template.
Upvotes: 0
Reputation: 1175
Yes you can safely transfer all CPU intensive tasks by making asynchronous calls from Node.js to a REST API written in C# or any other multithreaded language which handles CPU heavy processing and use the in built asynchronous feature of Node.js to handle all requests to your gaming app.
Upvotes: 1