Commit Graph

299 Commits

Author SHA1 Message Date
Steve Sanderson
c83605baff Add aspnet-angular NPM package containing HttpWithStateTransfer utility 2017-08-02 10:26:46 +01:00
Stephen Lautier
fc12d722b8 fix(webpack): fix middleware to specifically serialize options as non-camecased 2017-08-02 09:24:42 +01: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
cdb04c74f9 Update aspnet-webpack to 2.0.1, automatically disabling the middleware if we detect the process doesn't have sufficient disk permissions 2017-07-12 23:06:05 +01:00
Steve Sanderson
a74941e3c8 Merge branch 'rel/2.0.0' into rel/2.0.0-templates 2017-07-12 15:30:14 +01:00
Steve Sanderson
576e3debf1 Complete the lstat patching for #1101 2017-07-12 15:27:00 +01:00
Steve Sanderson
4903e12373 Publish aspnet-webpack-react as 3.0.0 since it's no longer beta 2017-07-11 23:55:50 +01:00
Steve Sanderson
56c806b34e Update aspnet-prerendering to 3.0.1, fixing the default "fetch" base URL to match the real application root URL 2017-07-11 23:55:49 +01:00
Steve Sanderson
8acba88160 Update aspnet-webpack to 2.0.0, now supporting HMR when apps are running in virtual directories 2017-07-11 18:57:52 +01:00
Steve Sanderson
44f86eb8a1 Fix webpack HMR proxying logic for apps running on non-root URLs (e.g., full IIS virtual directories) 2017-07-11 18:56:06 +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
e632d2bb69 In domain-task/fetch, only apply HTTPS cert validation workaround for HTTPS requests (not HTTP) 2017-07-07 12:07:12 +01:00
Steve Sanderson
27f59c6971 Make domain-task/fetch disable HTTPS cert validation when making relative requests to own server as workaround for #1089 2017-07-06 14:37:29 +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
94fc84a9b4 Add simpler prerendering API. Fixes #607 2017-07-03 14:07:28 +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
Steve Sanderson
3da87dd3d3 In aspnet-webpack-react 3.0.0+, remove the workaround for #1066. Templates that use this version of the package need to not have issue #1066 2017-06-26 15:34:30 +01:00
Steve Sanderson
117c1a6cbd Implement workaround for #1066 2017-06-26 12:51:03 +01:00
Scott Addie
55bd0c05cb Update SpaServices NuGet package installation requirement 2017-06-23 11:55:00 +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
73054559cc Bump aspnet-prerendering version to 2.0.6 for publish 2017-06-20 15:11:23 +01:00
Steve Sanderson
d007a3fbba In aspnet-prerendering, fix type definitions to satisfy TypeScript 2.4.0. Fixes #1034 2017-06-20 15:10:29 +01:00
Steve Sanderson
fcd3cf9dd7 In aspnet-prerendering, simply type imports/exports by changing PrerenderingInterfaces to a regular module (not a .d.ts file) 2017-06-20 15:07:11 +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
5e7bb0f5c5 Don't log OperationCanceledException every time an HMR client disconnects 2017-06-11 19:57:26 +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
Pranav K
9b131ea7d3 Remove unused usings 2017-05-27 18:58:17 -07: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
baae62132b Remove projects and packages obsoleted in v2 2017-05-18 13:52:58 +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
ef9dbfe44b Update aspnet-webpack-react to v2.0.0, now supporting Webpack 2+ and React Hot Loader 3+ only 2017-05-17 21:10:29 +01:00
Steve Sanderson
5a5b309cdf Bump aspnet-prerendering to 2.0.5 for release 2017-05-04 18:20:38 +01:00
Steve Sanderson
d41f47f5bc Make statusCode optional on RenderToStringResult. Fixes #917 and #918 2017-05-04 18:20:25 +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
3dca3c37ff Bump aspnet-webpack to 1.0.29 for publish 2017-05-04 13:33:25 +01:00
Steve Sanderson
1862e388e1 Bump aspnet-prerendering to 2.0.4 for publish 2017-05-04 13:21:35 +01:00
Matt Perry
cdbbbcc473 Fix build break 2017-05-04 13:07:18 +01:00
Matt Perry
02b31d05a2 Stick closer to established style guides. Up buffer size to match websocket buffer size from original proxy code. 2017-05-04 13:07:18 +01:00
Matt Perry
54884459bd Allow proxy middleware to abort long running connections. 2017-05-04 13:07:18 +01:00
Pavlo Glazkov
c0205cfc4e Fix watchOptions in webpack.config.js being ignored by WebpackDevMiddleware (#806)
This enables Docker HMR workflow and the workaround mentioned in this comment: https://github.com/aspnet/JavaScriptServices/issues/806#issuecomment-290081291
2017-04-11 14:35:57 +01:00
Steve Sanderson
5cb1846dd2 Fix and reorganise WebpackDevMiddleware.ts following PR 2017-03-29 14:18:37 +01:00
Steve Sanderson
1f03b1e633 Tiny shortcut to reduce string checking in non-debug scenarios 2017-03-29 12:02:02 +01:00