Commit Graph

454 Commits

Author SHA1 Message Date
SteveSandersonMS
1ce8a2215c In ReactSpa, use isomorphic-fetch for IE/Edge compatibility 2016-08-19 01:40:35 +01:00
SteveSandersonMS
48eb2b7a05 In KnockoutSpa, use isomorphic-fetch for IE/Edge compatibility 2016-08-19 01:08:57 +01:00
SteveSandersonMS
5bc47aacd8 Tweaks to .xproj files made automatically by VS 2016-08-19 01:08:09 +01:00
SteveSandersonMS
22da55a473 Bump generator-aspnetcore-spa package version 2016-08-18 14:07:53 -07:00
SteveSandersonMS
a4e3360e65 Bump aspnet-webpack-react package version 2016-08-18 14:07:11 -07:00
SteveSandersonMS
0a0afed84b Add comment about why the 'actions' property is being patched on 2016-08-18 13:57:49 -07:00
Geir Sagberg
0ad0483935 Update aspnet-webpack-react to React 15
^15.0.0 is enough

Update ReactGrid example to work with newest Griddle version

Several fixes to stop build.sh from failing
2016-08-18 13:50:22 -07:00
SteveSandersonMS
6d8767d141 Tweak WebpackDevMiddleware.cs to avoid unnecessary Task.Yield() 2016-08-18 13:49:20 -07:00
Mark Pieszak
89034b59c5 Change to mix import/require style 2016-08-18 12:21:36 -07:00
Mark Pieszak
9e714b61fe Bug(KnockoutSpa): Router TS issue
TS erroring out (unable to build) due to `crossroads.normalizeFn = crossroads.NORM_AS_OBJECT;` <-- left hand assignment

```
ERROR in ./ClientApp/router.ts
(21,9): error TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.
```
2016-08-18 12:21:36 -07:00
SteveSandersonMS
d928ef4f12 Rename folders since the template package generator now creates a package for "dotnet new" as well as Yeoman 2016-08-18 10:58:04 -07:00
SteveSandersonMS
1019026943 Build NuGet package containing dotnetnew templates 2016-08-18 10:48:13 -07:00
SteveSandersonMS
098159998d Add ability to configure environment variables for Node instances, plus auto-populate NODE_ENV based on IHostingEnvironment when possible. Fixes #230 2016-08-16 16:26:07 -07:00
SteveSandersonMS
56cb898bde Rename PrimeCache to PrimeCacheAsync (keeping older name as obsolete overload). Fixes #246. 2016-08-16 13:57:37 -07:00
SteveSandersonMS
c53bd8f8f6 Prerenderer now passes original (unescaped) URL to Node - fixes #250 2016-08-16 11:44:55 -07:00
SteveSandersonMS
0d0d25b032 In WebpackDevMiddleware, allow configuration of ProjectPath (implements #262) 2016-08-15 14:40:38 -07:00
Aaron Powell
2a6465b27a FIxing path separator to address #247 (#248)
* Correcting path separator to ;

* Using the proper API from System.IO to get path separator
2016-08-08 10:54:22 +10:00
SteveSandersonMS
7052fa0ad2 Rephrased docs to clarify which are the parts you type into the command line 2016-08-04 18:03:43 +10:00
Mark Pieszak
4665d1f458 docs(readme): Show how to get started with yeoman 2016-08-04 17:57:46 +10:00
Aidan Steele
a631f77a33 Copy only project.json before dotnet restore in Dockerfile templates 2016-08-04 17:49:50 +10:00
Aidan Steele
cf1a127e7d Perform nodejs installation before COPY in Dockerfile templates 2016-08-04 17:49:40 +10:00
SteveSandersonMS
c07bd96270 Update generator-aspnetcore-spa version 2016-08-04 17:45:04 +10:00
SteveSandersonMS
3403eb7548 Make aspnet-webpack compatible with older versions of the NodeServices package 2016-07-27 13:29:18 +01:00
SteveSandersonMS
0a3463031b Add Node.js support in all the Docker containers 2016-07-27 13:09:54 +01:00
SteveSandersonMS
e9ca434405 Update all templates to match latest "yo aspnet" output 2016-07-27 12:25:32 +01:00
SteveSandersonMS
de960d80aa Allow explicit configuration of port number for webpack dev middleware server. Fixes #223. 2016-07-27 11:13:09 +01:00
SteveSandersonMS
14337e32ab WebpackDevMiddleware now preserves client's view of hostname when doing 302 to /__webpack_hmr 2016-07-27 11:03:04 +01:00
SteveSandersonMS
698921d157 Update Dockerfile in all templates to match .NET Core 1.0 RTM. Fixes #120 2016-07-27 10:43:16 +01:00
SteveSandersonMS
c892f7da35 Support debugging when on IPv6 network (Node's "Debugger listening" message is phrased differently there) 2016-07-27 09:50:43 +01:00
SteveSandersonMS
f2f67fe880 Support new config options to launch the Node process with a debug listener. This is compatible with node-inspector. 2016-07-26 18:33:27 +01:00
SteveSandersonMS
79872c1bde Amend aspnet-webpack for better node-inspector support 2016-07-26 16:38:46 +01:00
SteveSandersonMS
2fe06ea784 Make the dependency on es6-shim explicit, and include it in the vendor bundle 2016-07-26 14:57:14 +01:00
Simon Kamlet
77b404188b fix angular's (click) events not being triggered on IE9 2016-07-26 14:50:17 +01:00
Mark Pieszak
96228711f2 chore(package): Update to rc4, beta router & universal 104.5
104.5 includes some bug fixes.
Router beta update required pathMatch on home.

Tested w/ JS on/off everything passes & works.
2016-07-26 14:46:11 +01:00
Mike Mazmanyan
64a8ef1112 Moving and updating "aspnet-webpack" package in templates (#207) 2016-07-26 14:44:07 +01:00
SteveSandersonMS
749c7cb3ce Add example of full-page prerendering via a custom action result 2016-07-19 15:50:54 +01:00
Jimmy Bogard
edf1f88398 Updating to AutoMapper 5.0 2016-07-18 17:02:30 +01:00
SteveSandersonMS
f4afb25a2d Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249 2016-07-18 16:54:52 +01:00
SteveSandersonMS
fae0a886af Transfer multiline log messages from Node to .NET without treating each line as a separate log entry 2016-07-18 16:34:36 +01:00
SteveSandersonMS
f4efcacd40 Switch to native .NET logging APIs 2016-07-18 15:56:45 +01:00
Paul Knopf
27ffa72e0d Adding support for capturing the output of a node instance for custom logging implementations. 2016-07-18 15:07:09 +01:00
SteveSandersonMS
a14d9ba2df Change onBeforeStartExternalProcess to a virtual method, so as to avoid expanding the set of constructor params in all hosting models 2016-07-18 14:39:36 +01:00
thunder7553
7119815d04 Added OnBeforeStartExternalProcess callback which to NodeServicesOptions (and OutOfProcessNodeInstance, SocketNodeInstance and HttpNodeInstance) to configure environment of the node.exe process to be started, and the path to the node executable itself. Fixes #20 2016-07-18 14:24:07 +01:00
SteveSandersonMS
057efb43c8 aspnet-webpack module now preserves 'path' and 'publicPath' config settings when invoking Webpack compiler. Fixes #176. 2016-07-18 13:55:26 +01:00
SteveSandersonMS
58bf117442 Update templates to domain-task 2.0.0. Fixes #166. 2016-07-11 12:16:41 +01:00
SteveSandersonMS
fc897475f3 Update domain-task package to version 2.0.1 (major bump because breaking change) and modify 'fetch' behaviour so it no longer tries to register the task with domain-task automatically. See code comments for reasons. 2016-07-11 12:16:29 +01:00
SteveSandersonMS
c1a1bdf373 Update React template homepage as per #158 2016-07-07 15:50:37 +01:00
SteveSandersonMS
01d5c90e23 Include Microsoft.DotNet.Watcher.Tools in templates. Fixes #157 2016-07-07 15:47:48 +01:00
SteveSandersonMS
8b5136825c Update remaining doc references to Invoke<T> and InvokeExport<T> 2016-07-07 14:59:59 +01:00
SteveSandersonMS
b0bc80b4d6 Update docs around custom node instances to match latest API changes 2016-07-07 14:58:25 +01:00