Commit Graph

91 Commits

Author SHA1 Message Date
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
SteveSandersonMS f2e89fd3bc Remove obsolete InputOutputStream transport, now that the Stream transport is implemented 2016-06-01 17:03:05 +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 341cd4f1cb Implement SocketNodeInstance 2016-06-01 16:16:10 +01:00
SteveSandersonMS 32ebaecdd8 Define DefaultNodeHostingModel in one common place so it can be changed easily 2016-06-01 16:15:34 +01:00
SteveSandersonMS cb289fd387 Further stylistic tweaks 2016-05-31 22:29:27 +01:00
Andrei Tserakhau 5bb92d02dd refactor: prime cache formatter beautify 2016-05-25 16:11:53 +03:00
Andrei Tserakhau b141419b14 refactor(angular-services): beutify base uri creation
bug: remove redundant closing brackets
2016-05-25 16:09:20 +03: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 60e4e3a3f3 Rename NodeServices.sln to JavaScriptServices.sln 2016-05-18 23:12:34 +01:00
SteveSandersonMS 70c084b344 Simplify project.json/global.json files where possible 2016-05-18 13:59:25 +01:00
SteveSandersonMS 22deb2ad28 Add LatencyTest project 2016-05-18 11:51:47 +01:00
SteveSandersonMS 352108be35 Update all projects for final .NET Core RC2 2016-05-17 11:56:06 +01:00
SteveSandersonMS d1964f087d Change from netstandardapp1.5 to netcoreapp1.0 everywhere 2016-05-04 15:26:14 -07:00
SteveSandersonMS 13beb7cf27 Add local pack script. Remove dnx451 framework references. May add back later if needed. 2016-05-02 13:13:49 -07: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
SteveSandersonMS d19c0d7c16 Fix frameworks/dependencies in src projects 2016-05-02 13:13:47 -07:00
SteveSandersonMS 1cb4dd920c Partial migration to ASP.NET Core 1.0 RC2 (done the core packages, plus the ES2015/Webpack samples, and the Angular2Spa template). Only verified it builds/runs on .NET Core - not checked on net451. 2016-05-02 13:13:47 -07:00
SteveSandersonMS 992060b908 Further attempt to make the build pass 2016-05-02 12:47:58 -07:00
SteveSandersonMS 323711fc24 Hopefully make the build work on Windows 2016-05-02 12:28:04 -07:00