NodeServices Sockets (1.1.0-beta-000002) doesn't work with 2.0.x SpaServices #276

Closed
opened 2025-08-09 17:15:40 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @magnus-tretton37-zz on 12/11/2017

Maybe the answer is in the title - the Sockets package is version 1.1, and not updated for SpaServices 2.0. According to the docs, however, I should be able to use the Sockets package to run that hosting model, but when trying to do so I get this error:

Method not found: 'Void Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(System.String, System.String, System.String[], System.String, Microsoft.Extensions.Logging.ILogger, System.Collections.Generic.IDictionary``2<System.String,System.String>, Int32, Boolean, Int32)

I'd like to be able to use the sockets hosting model since it does offer a marked performance benefit, making SSR as fast as would expected it to be. Please see my investigation here: #1368 (don't know if you get notifications on updates to closed issues).

Things do seems to work with the latest github code (2.1), and I know the release is soon to be, but I'm not sure the Sockets package will get a release along with the rest? It's still in beta, and you say here (#163) it won't be released at all.

*Originally created by @magnus-tretton37-zz on 12/11/2017* Maybe the answer is in the title - the Sockets package is version 1.1, and not updated for SpaServices 2.0. According to the docs, however, I should be able to use the Sockets package to run that hosting model, but when trying to do so I get this error: `Method not found: 'Void Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance..ctor(System.String, System.String, System.String[], System.String, Microsoft.Extensions.Logging.ILogger, System.Collections.Generic.IDictionary``2<System.String,System.String>, Int32, Boolean, Int32)` I'd like to be able to use the sockets hosting model since it does offer a marked performance benefit, making SSR as fast as would expected it to be. Please see my investigation here: #1368 (don't know if you get notifications on updates to closed issues). Things do seems to work with the latest github code (2.1), and I know the release is soon to be, but I'm not sure the Sockets package will get a release along with the rest? It's still in beta, and you say here (#163) it won't be released at all.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#276
No description provided.