|Number of watchers on Github||2819|
|Number of open issues||26|
|Average time to close an issue||2 days|
|Average time to merge a PR||6 days|
|Open pull requests||35+|
|Closed pull requests||75+|
|Last commit||3 months ago|
|Repo Created||over 2 years ago|
|Repo Last Updated||2 months ago|
|Organization / Author||aspnet|
|Do you use NodeServices? Leave a review!|
|View open issues (26)|
|View NodeServices activity|
|View on github|
|Latest Open Source Launches|
Trendy new open source projects in your inbox! View examples
This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.
This repo contains:
Lazy loadingfor Knockout apps
It's cross-platform (Windows, Linux, or macOS) and works with .NET Core 2.0 or later.
With these prerequisites, you can immediately create new ASP.NET Core applications that use Angular, React, or React+Redux without having to install anything extra.
In an empty directory, run (for example)
dotnet new angular. Other supported SPA frameworks include React and React+Redux. You can see the list of available SPA templates by running
dotnet new spa.
Once the generator has run and restored all the dependencies, you can start up your new ASP.NET Core SPA:
npm install dotnet run
New Project dialog, select ASP.NET Core Web Application. You will then be offered the option to create an application with Angular, React, or React+Redux. When the application is created, you can build and run it in the normal way.
For a more detailed (albeit somewhat outdated) walkthrough, see getting started with the
If you want to build an ASP.NET Core application with Aurelia, Knockout, or Vue, you can use the
Microsoft.AspNetCore.SpaTemplates package. On the command line, run
dotnet new --install Microsoft.AspNetCore.SpaTemplates. Then you will be able to run
dotnet new aurelia (or
dotnet new vue, etc.) to create your new application.
NodeServicespackage to implement its features.
There were previously other packages called
Microsoft.AspNetCore.ReactServices but these are not currently needed - all applicable functionality is in
Microsoft.AspNetCore.SpaServices, because it's sufficiently general.
If you want to build a helper library for some other SPA framework, you can do so by taking a dependency on
Microsoft.AspNetCore.SpaServices and wrapping its functionality in whatever way is most useful for your SPA framework.
samples directory contains examples of:
NodeServicesusage for runtime code transpilation and image processing.
To run the samples:
samples, etc.), run
Music Storesample, then also run
gulp(which you need to have installed globally). None of the other samples require this.
If you're interested in contributing to the various packages, samples, and project templates in this repo, that's great!
Before working on a pull request, especially if it's more than a trivial fix (for example, for a typo), it's usually a good idea first to file an issue describing what you're proposing to do and how it will work. Then you can find out if it's likely that such a pull request will be accepted, and how it fits into wider ongoing plans.