Commit Graph

261 Commits

Author SHA1 Message Date
SteveSandersonMS
0d0d25b032 In WebpackDevMiddleware, allow configuration of ProjectPath (implements #262) 2016-08-15 14:40:38 -07:00
Aaron Powell
2a6465b27a FIxing path separator to address #247 (#248)
* Correcting path separator to ;

* Using the proper API from System.IO to get path separator
2016-08-08 10:54:22 +10:00
SteveSandersonMS
3403eb7548 Make aspnet-webpack compatible with older versions of the NodeServices package 2016-07-27 13:29:18 +01:00
SteveSandersonMS
de960d80aa Allow explicit configuration of port number for webpack dev middleware server. Fixes #223. 2016-07-27 11:13:09 +01:00
SteveSandersonMS
14337e32ab WebpackDevMiddleware now preserves client's view of hostname when doing 302 to /__webpack_hmr 2016-07-27 11:03:04 +01:00
SteveSandersonMS
c892f7da35 Support debugging when on IPv6 network (Node's "Debugger listening" message is phrased differently there) 2016-07-27 09:50:43 +01: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
79872c1bde Amend aspnet-webpack for better node-inspector support 2016-07-26 16:38:46 +01:00
SteveSandersonMS
fae0a886af Transfer multiline log messages from Node to .NET without treating each line as a separate log entry 2016-07-18 16:34:36 +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
057efb43c8 aspnet-webpack module now preserves 'path' and 'publicPath' config settings when invoking Webpack compiler. Fixes #176. 2016-07-18 13:55:26 +01:00
SteveSandersonMS
fc897475f3 Update domain-task package to version 2.0.1 (major bump because breaking change) and modify 'fetch' behaviour so it no longer tries to register the task with domain-task automatically. See code comments for reasons. 2016-07-11 12:16:29 +01:00
SteveSandersonMS
8b5136825c Update remaining doc references to Invoke<T> and InvokeExport<T> 2016-07-07 14:59:59 +01:00
SteveSandersonMS
b0bc80b4d6 Update docs around custom node instances to match latest API changes 2016-07-07 14:58:25 +01:00
SteveSandersonMS
3bc35aea21 Simplify docs around receiving an INodeServices instance from DI 2016-07-07 14:50:24 +01:00
SteveSandersonMS
920f1c8bf3 Replace references to Invoke and InvokeExport with InvokeAsync and InvokeExportAsync throughout docs 2016-07-07 14:47:36 +01:00
SteveSandersonMS
4b38519001 Change all links in docs to point to new main branch ('dev') 2016-07-07 14:43:14 +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
ce127f0d70 Implement connection draining feature 2016-07-07 13:18:48 +01:00
SteveSandersonMS
be13f0b7bf Centralise the child-process-terminating logic in NodeServicesImpl - don't also do it in OutOfProcessNodeInstance. This works towards connection draining. 2016-07-07 12:52:15 +01:00
SteveSandersonMS
26e8bd823c Instead of the Node process exiting instantly on file change, send a signal to .NET that it should restart. This is working towards the connection-draining feature. 2016-07-07 12:01:28 +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
4ee09cbe82 Make Http hosting model able to report exceptions that happened while locating the function to invoke 2016-07-06 15:47:06 +01:00
SteveSandersonMS
00b598176c Minor style tweaks 2016-07-06 10:44:21 +01:00
Tobias Rundbom
f8981185d9 Makes it possible to use absolute paths for publicPath in weback.config (#161)
- Parses publicPath as an URL and returns the path of that URL to be able to cope with absolute URLs
2016-07-06 10:28:11 +01:00
Steve Sanderson
9215ee3d7d Update README.md 2016-07-06 10:28:11 +01:00
SteveSandersonMS
260a0d6bcb Migrate entrypoint-http.js to TypeScript. Source is now HttpNodeInstanceEntryPoint.ts. 2016-07-01 11:49:22 +01:00
SteveSandersonMS
393e156b47 Better reporting of Webpack compilation errors to fix #159 2016-07-01 10:30:59 +01:00
SteveSandersonMS
b82e70e192 Fix for prerendering hanging if webpack compilation fails 2016-06-30 16:57:14 +01:00
Steve Sanderson
44bd5f195e Update readme regarding default transport 2016-06-28 18:06:13 +01:00
SteveSandersonMS
eebf509846 Update 'src' project dependencies for .NET Core 1.0 RTM 2016-06-28 10:58:05 +01:00
SteveSandersonMS
9fabfd5c40 Fix typo 2016-06-21 15:48:07 +01:00
SteveSandersonMS
ea0a32a15b Implement and document asp-prerender-data 2016-06-21 15:46:52 +01:00
SteveSandersonMS
1a53411046 Fix some whitespace issues 2016-06-21 15:44:38 +01:00
SteveSandersonMS
a881ca5b96 Correctly set NODE_PATH when starting OutOfProcessNodeInstance 2016-06-14 10:43:03 +01:00
SteveSandersonMS
3fc19ea77b Add missing lock to ensure thread-safe mutations of _activeInnerStreams in VirtualConnectionClient.cs 2016-06-14 10:16:40 +01:00
SteveSandersonMS
dab67c817c Copy edit SpaServices README.md 2016-06-13 16:01:53 +01:00
SteveSandersonMS
b4fd30dee7 Add links and syntax highlighting to SpaServices README.md 2016-06-13 14:57:13 +01:00
SteveSandersonMS
266ea8815b Add SpaServices README.md 2016-06-13 14:52:37 +01:00
SteveSandersonMS
44c8b9985b Add language type annotations and fix links in NodeServices readme 2016-06-08 16:59:02 +01:00
SteveSandersonMS
f0ec89bbd9 Add NodeServices docs 2016-06-08 16:53:21 +01:00
SteveSandersonMS
b19d0dff92 Support streamed response from SocketNodeInstance 2016-06-07 17:16:01 +01:00
SteveSandersonMS
967edd2b2a Support streamed response from HttpNodeInstance 2016-06-07 16:49:40 +01:00
SteveSandersonMS
c8859abeb7 Fix #110 - enable asynchronous mode for Stream transport on Windows 2016-06-07 11:36:38 +01:00
SteveSandersonMS
311733b113 Fix references to socket APIs, and target the lowest net standard versions possible 2016-06-01 18:04:40 +01:00
Rasmus Melchior Jacobsen
931ba118e1 net451 support and changed netcoreapp1.0->netstandard1.5 for libraries 2016-06-01 17:10:11 +01:00