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 Lathrop
a7e715c88f
Small grammatical fix to README.md
2017-08-21 15:37:58 -07:00
Eric Green
372e597f34
Added Timeout to HttpClient to always be longer than the InvocationTimeoutMilliseconds.
...
HttpClient defaults to 100 seconds. If InvocationTimeoutMilliseconds is greater than the default of the HttpClient, the task will fail with a Task was canceled exception.
2017-08-02 09:22:34 +01:00
Steve Sanderson
576e3debf1
Complete the lstat patching for #1101
2017-07-12 15:27:00 +01:00
Steve Sanderson
22ff88ab79
On Windows, patch Node's lstat to work around permissions error. Fixes #1101
2017-07-11 10:43:31 +01:00
Steve Sanderson
943fb2f482
In core packages, set <None Remove="node_modules\**\*" /> otherwise builds are super slow
2017-07-06 11:13:24 +01:00
Steve Sanderson
9cce26ebd8
Fix error formatting by rebuilding entrypoint-http.js
2017-07-03 14:01:31 +01:00
Steve Sanderson
513d288a5d
Use GetRandomFileName instead of GetTempFileName. Fixes #1060
2017-07-03 10:15:53 +01:00
Steve Sanderson
429a432dd3
Check for null during node process disposal. Fixes #1061
2017-07-03 10:09:03 +01:00
Sławomir Rosiek
4ceed817a3
Removed unused methods
2017-06-20 16:33:34 +01:00
Sławomir Rosiek
6d85e752e1
Throwing HttpInvocationException instead of generic Exception
2017-06-20 16:33:34 +01:00
Steve Sanderson
a3bcc0d863
Update debugger detection to support Node v8.1+, and stop aborting if debugger messages are unrecognised.
2017-06-11 20:28:14 +01: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
Steve Sanderson
2aaceaa9f8
Move core packages to netstandard2.0
2017-06-07 14:58:33 +01:00
Thomas Hermann
c592282646
Fix Node debugging by catching warning
2017-05-24 17:32:01 +01:00
Ryan Brandenburg
3645ae6cf2
Generate Documentation files
2017-05-22 10:54:25 +01:00
Steve Sanderson
33cc640942
Remove obsolete 1.x APIs
2017-05-18 14:17:29 +01:00
Steve Sanderson
244deca019
Update libraries and samples to .NET Core 2.0
2017-05-18 13:45:13 +01:00
Steve Sanderson
85e59efa21
Rename Angular2Spa to AngularSpa, plus rephrase "Angular 2" as "Angular" in many places
2017-05-18 13:40:58 +01:00
Steve Sanderson
decb13b33b
Make versions consistent across all .NET projects
2017-05-04 14:07:00 +01:00
Steve Sanderson
6300f6cdcd
Have CI build 1.1.1 RTM versions of NodeServices/SpaServices for release
2017-05-04 13:37:56 +01:00
Steve Sanderson
1f03b1e633
Tiny shortcut to reduce string checking in non-debug scenarios
2017-03-29 12:02:02 +01:00
Steve Sanderson
8544714cbb
Revert IsWarning code path to avoid breaking change (e.g., if someone overrode OnErrorDataReceived to receive such lines)
2017-03-29 12:02:02 +01:00
Thomas Hermann
0c09c68b77
Support V8 Inspector Integration for Node.js
...
Addresses #796
2017-03-29 12:02:02 +01:00
Nate McMaster
3058c050bb
Unify dependency versions across all non-template projects
2017-03-01 09:28:11 +00:00
Steve Sanderson
a79bc75671
Migrate to csproj ( #703 )
...
Migrate to csproj
2017-02-28 09:17:35 +00:00
SteveSandersonMS
d69b65e572
Bump NodeServices/SpaServices package versions to 1.1.0-rtm for release
2017-01-30 09:57:00 +00:00
SteveSandersonMS
6a1f35da8f
Bumping NodeServices/SpaServices versions to 1.1.0-rc2-* for RC2 release
2017-01-20 17:33:34 +00:00
SteveSandersonMS
d7d1a04751
When Node is launched with a debug listener, disable connection draining on restart. Fixes #506 .
2017-01-20 17:32:26 +00:00
SteveSandersonMS
9d5006107f
Bumping NodeServices/SpaServices versions to 1.1.0-rc1-* for RC1 release
2017-01-13 09:02:28 +00:00
Niclas Emdelius
49bece54c2
Check if response is stream or object without using reference to reflection package.
2017-01-03 13:29:45 +00:00
nicemd
0907379da8
Streamed responses can be be Object or Stream
...
See issue https://github.com/aspnet/JavaScriptServices/issues/518
2017-01-03 13:29:45 +00:00
SteveSandersonMS
fbb8054c2e
Make error message clearer if Node isn't installed (or not found on PATH). Fixes #527
2017-01-03 10:59:26 +00:00
SteveSandersonMS
70f59fc8ec
Update core package versions to 1.1.0-beta2-* so that CI will produce non-timestamped packages
2017-01-03 10:29:22 +00:00
SteveSandersonMS
eb98067e86
Update docs about using socket transport. Fixes #500
2016-12-13 15:59:43 +00:00
SteveSandersonMS
1c4682e50d
Fix all the ConditionalProxyMiddleware errors that happened if you ctrl+c on a "dotnet run" (not "dotnet watch run") since beta-000002.
2016-12-13 11:32:32 +00:00
Sébastien Ros
6545e11bf2
Fix filename in sample
...
Mismatch between code sample and described js filename.
2016-12-08 10:04:50 +00:00
SteveSandersonMS
2cffab14f6
StringAsTempFile cleans up in a wider range of circumstances (not relying on finalizer running). Helps with #7 but still doesn't cover all cases.
2016-11-30 15:04:08 +00:00
SteveSandersonMS
832da2a451
Split out 'socket' hosting model into a separate optional NuGet package, since most developers won't need it
2016-11-30 12:18:57 +00: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
4cbbf58600
Update core packages to version 1.1.0-*, upgrading .NET Core dependencies to match 1.1.0 release
2016-11-29 16:35:59 +00:00
SteveSandersonMS
3ff4447924
Add XML docs to core packages
2016-11-29 16:03:15 +00:00
SteveSandersonMS
3b91ad9b39
Make core package project.json files conform to org-wide conventions
2016-11-29 14:02:26 +00:00
SteveSandersonMS
bebf24952e
Add AssemblyInfo files to core packages
2016-11-29 13:04:21 +00:00
SteveSandersonMS
9f6b0b0573
Build SpaServices 'Node/Content/*.js' files from TypeScript sources
2016-11-28 16:56:02 +00:00
Brad Christensen
4fc1d60d67
Remove cancellationToken parameter as the method is no longer async
2016-10-05 17:14:15 +01:00
Brad Christensen
1d76284e25
Serialize node invocationInfo JSON directly to stream to avoid running out of memory
...
Fixed only for SocketNodeInstance, as it deals nicely with streams. Previously ~30MB of JSON text and 32-bit IIS Express would result in an OutOfMemoryException at the GetBytes method, which is now fixed by writing the JSON string directly to the stream and not handling it as a string in between.
2016-10-05 17:14:15 +01:00
SteveSandersonMS
bc42e598f9
Update NodeServices TypeScript compilation to use @types
2016-10-05 13:58:55 +01:00
SteveSandersonMS
57265509f7
Rebuild entrypoint-socket.js
2016-09-27 10:47:14 +01:00
SteveSandersonMS
7e88903bcc
Fix Node event chaining in VirtualConnectionServer to work with latest NPM libraries. Fixes #331 .
2016-09-27 10:28:50 +01:00