Go to file
Pawel Kadluczka dd07ab1735 Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-20 15:31:56 -07:00
benchmarks/Microsoft.AspNetCore.SignalR.Microbenchmarks Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
build Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
client-ts Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-19 11:37:03 -07:00
samples Moving versions to alpha2 2017-09-15 12:11:53 -07:00
specs Fix some markdown glitches. (#879) 2017-09-14 14:50:17 -07:00
src Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-20 15:31:56 -07:00
test Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-20 15:31:56 -07:00
.appveyor.yml Use Directory.Build.props/targets 2017-08-29 10:17:20 -07:00
.gitattributes
.gitignore Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:35:10 -07:00
.travis.yml
CONTRIBUTING.md
Directory.Build.props Moving versions to alpha2 2017-09-15 12:11:53 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
LICENSE.txt
NuGet.config Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
NuGetPackageVerifier.json
README.md Update README 2017-09-19 15:13:18 -07:00
SignalR.sln Use PackageLineup to manage PackageReference versions 2017-09-01 16:34:32 -07:00
build.cmd Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:35:10 -07:00
build.ps1 Update bootstrappers to use the compiled version of KoreBuild 2017-07-25 16:35:10 -07:00
build.sh Ensure fallback to curl after failed wget 2017-08-02 14:34:09 -07:00
version.xml Packages produced from dev branch should be alpha2 now 2017-09-15 13:44:33 -07:00

README.md

ASP.NET Core SignalR

AppVeyor: AppVeyor

Travis: Travis

ASP.NET Core SignalR is a new library for ASP.NET Core developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.

You can watch an introductory presentation here - Introducing ASP.NET Core Sockets.

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.

Packages

You can install the latest released JavaScript client from npm with the following command:

npm install @aspnet/signalr-client

The CI build publishes the latest dev version of the JavaScript client to our dev npm registry as @aspnet/signalr-client. You can install the module as follows:

  • Create an .npmrc file with the following line: @aspnet:registry=https://dotnet.myget.org/f/aspnetcore-ci-dev/npm/
  • Run: npm install @aspnet/signalr-client

Alternatively, if you don't want to create the .npmrc file run the following commands:

npm install msgpack5
npm install @aspnet/signalr-client --registry https://dotnet.myget.org/f/aspnetcore-ci-dev/npm/

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. The build requires NodeJS (6.11 or newer) and npm to be installed on the machine.

Before opening this project in Visual Studio or VS Code, execute build.cmd /t:Restore (Windows) or ./build.sh /t:Restore (Linux/macOS). This will execute only the part of the build script that downloads and initializes a few required build tools and packages.

See developer documentation for more details.