Commit Graph

14 Commits

Author SHA1 Message Date
Pavel Krymets 7819c2f950
Remove obsolete API usage (#1784) 2018-11-06 14:10:24 -08:00
Steve Sanderson a40adab38d In non-ASP.NET apps, default project path to current working directory. Fixes #1100. 2017-08-21 16:40:59 -07:00
Steve Sanderson b444831c8d Remove System.Runtime.Loader dependency to enable net461 support. Use IApplicationLifetime instead of AssemblyLoadContext.Default.Unloading. 2017-06-07 14:58:44 +01:00
SteveSandersonMS ebf5a18344 Eliminate the NodeHostingModel enum because it isn't extensible. Instead, use extension methods on NodeServicesOptions to configure a NodeInstanceFactory. 2016-11-30 11:29:57 +00:00
SteveSandersonMS 3ff4447924 Add XML docs to core packages 2016-11-29 16:03:15 +00:00
SteveSandersonMS 041d173f56 All NodeServices invocations now have a default timeout, plus a descriptive exception if that happens 2016-09-08 12:08:42 +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 f04fb8c421 Design review: Always instantiate via DI 2016-09-01 15:51:53 +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
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 4fb3b18868 Create new top-level DefaultNodeInstance concept that will soon hold the "connection draining" logic 2016-07-06 18:23:25 +01:00