Commit Graph

19 Commits

Author SHA1 Message Date
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
2799861296 Support cancellation of NodeServices invocations 2016-09-08 10:56:50 +01:00
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
967edd2b2a Support streamed response from HttpNodeInstance 2016-06-07 16:49:40 +01:00
pauldotknopf
50ee405656 Workaround for a bug in .NET Core. This issue is referenced by #92. It is has been reported to the dotnet corefx team here: dotnet/corefx#8809 The issue won't be resolved in 1.0.0, so @stephentoub recommended that we reuse the HttpClient. 2016-06-01 16:49:40 +01:00
SteveSandersonMS
cb289fd387 Further stylistic tweaks 2016-05-31 22:29:27 +01:00
Andrei Tserakhau
95cba7f5dd refactor: apply default vs transform to xproj
refactor(spa-services): clean code

refactor(node-services): clean code, extract classes nto separate files

refactor(angular-services): prime cache cleanup
2016-05-25 16:08:49 +03:00
SteveSandersonMS
25c728f885 Change all Microsoft.AspNet.* namespaces and references to Microsoft.AspNetCore.* 2016-05-02 13:13:49 -07:00
SteveSandersonMS
4a0e4bdf1a Rename Microsoft.AspNet.* packages folders to Microsoft.AspNetCore.* 2016-05-02 13:13:49 -07:00