Commit Graph

315 Commits

Author SHA1 Message Date
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
SteveSandersonMS
1543595c01 Correct Windows path handling in new aspnet-webpack feature 2016-10-11 18:11:47 +01:00
SteveSandersonMS
a6d959b783 Publish updated aspnet-webpack 2016-10-11 16:12:27 +01:00
SteveSandersonMS
d20a72b812 In webpack dev middleware, after compilation, also write updated files to disk. This is needed for VS/VSCode debugger compatibility. 2016-10-11 15:56:06 +01:00
SteveSandersonMS
24773c8aa4 In aspnet-webpack, provide a SourceMapDevToolPlugin wrapper that strips out "charset=utf-8;" from inline source map URLs to enable VS debugger compatibility 2016-10-11 15:56:05 +01:00
SteveSandersonMS
6c645879a8 Publish updated aspnet-webpack 2016-10-10 13:20:54 +01:00
SteveSandersonMS
d5055dbaf3 Make the fix for #365 not be a breaking change (at least, for the considerable majority of aspnet-webpack users) 2016-10-10 12:36:52 +01:00
SteveSandersonMS
3568476cca aspnet-webpack auto-loads 'event-source-polyfill' on client when HMR is enabled. This requires 'event-source-polyfill' to be included in the client-side bundle, so it's also now added to all the templates' vendor bundles. Fixes #365. 2016-10-10 12:24:07 +01:00
SteveSandersonMS
93779a5e46 aspnet-webpack configures HMR to point directly to http://localhost:<port>/__webpack_hmr instead of proxying via /__webpack_hmr. This is because IE/Edge doesn't honour CORS headers properly following redirects (returns "Network Error 0x80004004"). This could be avoided if we could reverse-proxy to __webpack_hmr (waiting for https://github.com/aspnet/KestrelHttpServer/issues/1139) 2016-10-10 12:00:56 +01: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
c33b227331 Update redux-typed to use TS 2.0 and @types 2016-10-05 14:37:13 +01:00
SteveSandersonMS
02315b41c0 Update angular2-aspnet to use TS 2.0 and @types 2016-10-05 14:34:29 +01:00