You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This project is part of ASP.NET Core. You can find samples, documentation and ge
8
8
9
9
`JavaScriptServices` is a set of client-side technologies for ASP.NET Core. It provides infrastructure that you'll find useful if you:
10
10
11
-
- Use Angular 2 / React / Vue / Aurelia / Knockout / etc.
11
+
- Use Angular / React / Vue / Aurelia / Knockout / etc.
12
12
- Build your client-side resources using Webpack.
13
13
- Execute JavaScript on the server at runtime.
14
14
@@ -31,7 +31,7 @@ It's cross-platform (Windows, Linux, or macOS) and works with .NET Core 1.0.1 or
31
31
32
32
## Creating new applications
33
33
34
-
If you want to build a brand-new ASP.NET Core app that uses Angular 2 / React / Knockout on the client, consider starting with the `aspnetcore-spa` generator. This lets you choose your client-side framework. It generates a starting point that includes applicable features such as Webpack dev middleware, server-side prerendering, and efficient production builds. It's much easier than configuring everything to work together manually!
34
+
If you want to build a brand-new ASP.NET Core app that uses Angular / React / Knockout on the client, consider starting with the `aspnetcore-spa` generator. This lets you choose your client-side framework. It generates a starting point that includes applicable features such as Webpack dev middleware, server-side prerendering, and efficient production builds. It's much easier than configuring everything to work together manually!
35
35
36
36
To do this, install Yeoman and these generator templates:
37
37
@@ -57,10 +57,10 @@ If you have an existing ASP.NET Core application, or if you just want to use the
57
57
* Most applications developers don't need to use this directly, but you can do so if you want to implement your own functionality that involves calling Node.js code from .NET at runtime.
58
58
* Find [documentation and usage examples here](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.NodeServices#microsoftaspnetcorenodeservices).
59
59
*`Microsoft.AspNetCore.SpaServices`
60
-
* This provides infrastructure that's generally useful when building Single Page Applications (SPAs) with technologies such as Angular 2 or React (for example, server-side prerendering and webpack middleware). Internally, it uses the `NodeServices` package to implement its features.
60
+
* This provides infrastructure that's generally useful when building Single Page Applications (SPAs) with technologies such as Angular or React (for example, server-side prerendering and webpack middleware). Internally, it uses the `NodeServices` package to implement its features.
61
61
* Find [documentation and usage examples here](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices#microsoftaspnetcorespaservices).
62
62
*`Microsoft.AspNetCore.AngularServices`
63
-
* This builds on the `SpaServices` package and includes features specific to Angular 2. Currently, this includes validation helpers.
63
+
* This builds on the `SpaServices` package and includes features specific to Angular. Currently, this includes validation helpers.
64
64
* The code is [here](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.AngularServices). You'll find a usage example for [the validation helper here](https://github.com/aspnet/JavaScriptServices/blob/dev/samples/angular/MusicStore/wwwroot/ng-app/components/admin/album-edit/album-edit.ts).
65
65
66
66
There was previously a `Microsoft.AspNetCore.ReactServices` but this is not currently needed - all applicable functionality is in `Microsoft.AspNetCore.SpaServices`, because it's sufficiently general. We might add a new `Microsoft.AspNetCore.ReactServices` package in the future if new React-specific requirements emerge.
@@ -73,7 +73,7 @@ Inside this repo, [the `templates` directory](https://github.com/aspnet/JavaScri
73
73
74
74
The [`samples` directory](https://github.com/aspnet/JavaScriptServices/tree/dev/samples) contains examples of:
75
75
76
-
- Using the JavaScript services family of packages with Angular 2 and React.
76
+
- Using the JavaScript services family of packages with Angular and React.
77
77
- A standalone `NodeServices` usage for runtime code transpilation and image processing.
78
78
79
79
**To run the samples:**
@@ -82,7 +82,7 @@ The [`samples` directory](https://github.com/aspnet/JavaScriptServices/tree/dev/
82
82
* At the repo's root directory (the one containing `src`, `samples`, etc.), run `dotnet restore`
83
83
* Change directory to the sample you want to run (for example, `cd samples/angular/MusicStore`)
84
84
* Restore Node dependencies by running `npm install`
85
-
* If you're trying to run the Angular 2 "Music Store" sample, then also run `gulp` (which you need to have installed globally). None of the other samples require this.
85
+
* If you're trying to run the Angular "Music Store" sample, then also run `gulp` (which you need to have installed globally). None of the other samples require this.
86
86
* Run the application (`dotnet run`)
87
87
* Browse to [http://localhost:5000](http://localhost:5000)
88
88
@@ -92,7 +92,7 @@ If you're interested in contributing to the various packages, samples, and proje
92
92
93
93
* Clone the repo
94
94
* Run `dotnet restore` at the repo root dir
95
-
* Go to whatever sample or template you want to run (for example, `cd templates/Angular2Spa`)
95
+
* Go to whatever sample or template you want to run (for example, `cd templates/AngularSpa`)
96
96
* Restore NPM dependencies (run `npm install`)
97
97
* If the sample/template you're trying to run has a file called `webpack.config.vendor.js` at its root, run `webpack --config webpack.config.vendor.js`. It it has a file called `webpack.config.js`, run `webpack` (no args). You might need to install webpack first, by running `npm install -g webpack`.
Copy file name to clipboardExpand all lines: src/Microsoft.AspNetCore.NodeServices/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This NuGet package provides a fast and robust way to invoke Node.js code from a
10
10
It is the underlying mechanism supporting the following packages:
11
11
12
12
*[`Microsoft.AspNetCore.SpaServices`](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.SpaServices) - builds on NodeServices, adding functionality commonly used in Single Page Applications, such as server-side prerendering, webpack middleware, and integration between server-side and client-side routing.
13
-
*[`Microsoft.AspNetCore.AngularServices`](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.AngularServices) and [`Microsoft.AspNetCore.ReactServices`](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.ReactServices) - these build on `SpaServices`, adding helpers specific to Angular 2 and React, such as cache priming and integrating server-side and client-side validation
13
+
*[`Microsoft.AspNetCore.AngularServices`](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.AngularServices) and [`Microsoft.AspNetCore.ReactServices`](https://github.com/aspnet/JavaScriptServices/tree/dev/src/Microsoft.AspNetCore.ReactServices) - these build on `SpaServices`, adding helpers specific to Angular and React, such as cache priming and integrating server-side and client-side validation
0 commit comments