Commit Graph

327 Commits

Author SHA1 Message Date
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
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
Steve Sanderson ee601bed50 Minor doc tweaks 2017-03-29 11:41:38 +01:00
Thomas Hermann ce40973859 Add option to configure Webpack Hot Middleware client
Addresses #667
2017-03-29 11:35:57 +01:00
peterlazzarino 347524a116 Add status code response capabilities to PrerenderTagHelper and RenderToStringResult. Client can now send status codes back based on client routes. 2017-03-29 11:32:37 +01:00
Steve Sanderson 6ed6b8e3d2 Set AutoCompleteOnClose=false on JsonTextWriter. Fixes #822 2017-03-29 10:27:50 +01:00
Nate McMaster 3058c050bb Unify dependency versions across all non-template projects 2017-03-01 09:28:11 +00:00
Steve Sanderson 76ae9aa58f Fix build error in aspnet-prerendering caused by TypeScript 2.2.1 breaking change 2017-02-28 09:19:39 +00:00
Steve Sanderson a79bc75671 Migrate to csproj (#703)
Migrate to csproj
2017-02-28 09:17:35 +00:00
Steve Sanderson 689f106181 Update templates to TypeScript 2.2.1 and fix whatwg-fetch related errors. Fixes #705 2017-02-23 10:07:03 +00:00
SteveSandersonMS 4f7091c5d5 Remove "Connection: keep-alive" workaround from domain-task, as it's not needed with .NET Core >= 1.1.0. Fixes #655 2017-02-09 14:28:18 +00:00
SteveSandersonMS 87b9db7579 Add yarn.lock to ignorefiles in aspnet-prerendering 2017-02-03 10:54:00 +00:00
SteveSandersonMS 61ffca6290 In aspnet-prerendering, parse the incoming querystring before passing it to the boot func for convenience. Fixes #638. 2017-02-03 10:54:00 +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 e5178d2938 Update peerDependency on aspnet-webpack-react to allow Webpack 2.2.0+ as well as 1.x 2017-01-27 15:32:19 +00:00
SteveSandersonMS e4d00a2da3 Update aspnet-webpack to support Webpack 2-style configs that export a function 2017-01-27 14:44:25 +00:00
SteveSandersonMS 345b4f64b5 Update aspnet-webpack-react to support Webpack 2.x-style configs 2017-01-27 11:18:26 +00:00
SteveSandersonMS a9bc1201d1 Fix the build by passing allowConnectionDraining from SocketNodeInstance 2017-01-20 18:09:57 +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 351fe3d15c In SpaServices, add new HotModuleReplacementEndpoint option on HMR config. Fixes #579. 2017-01-20 15:03:52 +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 0763f1062b Add missing trailing slash on publicPath in docs. Fixes #516. 2017-01-02 10:58:03 +00:00
SteveSandersonMS eb98067e86 Update docs about using socket transport. Fixes #500 2016-12-13 15:59:43 +00:00
SteveSandersonMS a25d1f4731 Publish aspnet-webpack 1.0.26 2016-12-13 15:48:44 +00:00
SteveSandersonMS 4c3834361e Stop WebpackDevMiddleware littering the 'dist' directories with blah.host-update.js.map files (they never need to be written to disk) 2016-12-13 15:47: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 8d1cb3a537 Remove angular2-aspnet NPM package source as none of its functionality is still in use (and hasn't been since beta versions of Angular 2) 2016-12-08 10:02:37 +00:00
SteveSandersonMS 8705a4b353 Remove redux-typed from source tree. It's no longer in use and doesn't need to be maintained. Source can be re-added in the future if needed. 2016-12-07 19:02:53 +00:00
SteveSandersonMS 7c685c1354 Add AssemblyInfo.cs to Microsoft.AspNetCore.NodeServices.Sockets package 2016-12-07 18:09:11 +00:00
SteveSandersonMS 9c1c1b4023 Publish aspnet-prerendering 2.0.2 2016-12-01 17:31:32 +00:00
SteveSandersonMS 0a116ba2a1 Prerendering logic supplies PathBase (formatted as baseUrl) to boot logic 2016-12-01 17:24:24 +00:00
SteveSandersonMS 2b2465ad2e Update prerendering docs to account for aspnet-prerendering 2.0.0 and the new createServerRenderer API. Fixes #479 2016-12-01 14:41:48 +00:00
SteveSandersonMS dc130adc91 Update aspnet-prerendering to reference baseUrl in domain-task's main module, not domain-task/fetch. Goal is to avoid Webpack having to bundle isomorphic-fetch on server unless you're actually using it. 2016-12-01 14:32:54 +00:00
SteveSandersonMS b8913d29dd Update domain-task to export baseUrl from 'main' instead of only 'fetch'. Goal is to avoid Webpack detecting dependency on isomorphic-fetch unless you're actually using it. 2016-12-01 14:31:27 +00:00
SteveSandersonMS 78632617f8 Publish aspnet-webpack 1.0.25 2016-11-30 16:53:39 +00:00
SteveSandersonMS e2f8031bb8 For HMR, proxy all requests including /__webpack_hmr. Fixes #271. 2016-11-30 16:53:16 +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 a8d3eed32c Detect legacy aspnet-prerendering mode earlier to fix #470 2016-11-29 18:37:43 +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 17f9ecec29 Support new prerendering mode that doesn't require you to deploy node_modules to production. This is a breaking change in aspnet-prerendering, hence the major version bump. The NuGet package is back-compatible though. 2016-11-28 16:56:02 +00:00
SteveSandersonMS 9f6b0b0573 Build SpaServices 'Node/Content/*.js' files from TypeScript sources 2016-11-28 16:56:02 +00:00
SteveSandersonMS 69a0a29057 Handle Webpack 2.1.0 beta 23 renaming 'loaders' to 'rules'. Fixes #460. 2016-11-25 10:15:38 +00:00
Scott Addie 3a4936dbf7 Add '-loader' suffix to all Webpack loader references 2016-11-21 10:14:37 +00:00
WrathZA bbbcb5ef18 Update README.md
Fixed very minor spelling mistake on line 521.

You = Your
2016-11-18 17:03:24 +00:00
SteveSandersonMS ea81671828 Update docs to remove references to deprecated 'asp-prerender-webpack-config'. Fixes #359 2016-11-07 14:52:33 -08:00
SteveSandersonMS fadcb586c6 Support specifying environment variables for the Webpack dev middleware Node instance. Resolves #311. 2016-11-07 12:29:01 -08:00
SteveSandersonMS 2c97326721 In domain-task, avoid use of "new Function" because of CSP. Fixes #345 2016-11-07 12:21:02 -08:00
SteveSandersonMS 7ee8a7b15e Update aspnet-webpack peerDependency to allow Webpack 2.1.0beta+ as well as Webpack 1.x 2016-10-31 17:14:29 +00:00
SteveSandersonMS 64903fe0c6 Fix aspnet-webpack build on machines that don't already have `tsd` in the node_modules dir here 2016-10-31 16:49:37 +00:00
SteveSandersonMS 077f91847a Fix AngularServices NPM package dependency restoration following third-party package changes 2016-10-31 16:35:06 +00:00
SteveSandersonMS da51cd588b In WebpackDevMiddleware, when copying files, create any needed subdirectories. Fixes #408. 2016-10-31 10:49:31 +00:00
SteveSandersonMS 867e60d7fd Take dependency on newer webpack-dev-middleware because it fixes ambiguities in path handling 2016-10-28 10:56:19 +01:00
SteveSandersonMS 3dc9ac979c Add docs note about TypeScriptCompileBlocked as requested in #399 2016-10-24 10:26:00 +01:00
SteveSandersonMS d858c09b7b Minor doc tweaks 2016-10-21 15:17:28 +01:00
SteveSandersonMS ca6acc807d Attempt to fix headings in docs 2016-10-21 15:12:50 +01:00
SteveSandersonMS 8285bb0c74 Some extra links in docs 2016-10-21 15:10:30 +01:00
SteveSandersonMS 75abf1a2ab Add docs about debugging 2016-10-21 15:09:04 +01:00
SteveSandersonMS 496338ccca Publish redux-typed 2.0.0 which depends on TypeScript 2.0 for usage (its .d.ts files use the "/// <reference types="..." />" syntax) 2016-10-21 10:37:05 +01:00
SteveSandersonMS 8c766c0382 Remove deprecated SourceMapDevToolPlugin (can use Webpack's built-in one with external source maps) 2016-10-21 09:22:35 +01:00
SteveSandersonMS 99bf212cce Make aspnet-webpack resilient against Webpack configs with nonstring entrypoints. Fixes #376. 2016-10-17 11:51:01 +01:00
SteveSandersonMS a7ed0112db Publish redux-typed 1.0.1 2016-10-17 10:49:42 +01:00