Commit Graph

13 Commits

Author SHA1 Message Date
SteveSandersonMS 465d0c8d15 Design review: Explicitly disable TypeNameHandling in all Json.NET usage 2016-09-07 17:12:01 +01:00
SteveSandersonMS f0d954b2a6 Design review: Change AddNodeServices to take an Action<NodeServicesOptions> like other aspects of MVC DI config 2016-09-01 17:46:59 +01:00
SteveSandersonMS 098159998d Add ability to configure environment variables for Node instances, plus auto-populate NODE_ENV based on IHostingEnvironment when possible. Fixes #230 2016-08-16 16:26:07 -07:00
SteveSandersonMS f2f67fe880 Support new config options to launch the Node process with a debug listener. This is compatible with node-inspector. 2016-07-26 18:33:27 +01:00
SteveSandersonMS f4efcacd40 Switch to native .NET logging APIs 2016-07-18 15:56:45 +01:00
Paul Knopf 27ffa72e0d Adding support for capturing the output of a node instance for custom logging implementations. 2016-07-18 15:07:09 +01:00
SteveSandersonMS a14d9ba2df Change onBeforeStartExternalProcess to a virtual method, so as to avoid expanding the set of constructor params in all hosting models 2016-07-18 14:39:36 +01:00
thunder7553 7119815d04 Added OnBeforeStartExternalProcess callback which to NodeServicesOptions (and OutOfProcessNodeInstance, SocketNodeInstance and HttpNodeInstance) to configure environment of the node.exe process to be started, and the path to the node executable itself. Fixes #20 2016-07-18 14:24:07 +01:00
SteveSandersonMS eec370e938 Move file-watching logic into .NET to avoid Node's fs.watch issues on Windows (#128) 2016-07-07 14:25:54 +01:00
SteveSandersonMS a19e37f3c0 Move logic for restarting Node child process into NodeServicesImpl. Tidy up lots. 2016-07-07 11:35:25 +01:00
SteveSandersonMS 4fb3b18868 Create new top-level DefaultNodeInstance concept that will soon hold the "connection draining" logic 2016-07-06 18:23:25 +01:00
SteveSandersonMS b19d0dff92 Support streamed response from SocketNodeInstance 2016-06-07 17:16:01 +01:00
SteveSandersonMS 341cd4f1cb Implement SocketNodeInstance 2016-06-01 16:16:10 +01:00