Go to file
Josh Williams 0311f9b415 Throw InvalidDataException instead of FormatException in NegotationProtocol (#1246)
* Throw InvalidDataException instead of FormatException in NegotationProtocol
 - Modify NegotiationProtocol to throw InvalidDataException
 - Update NegotiationProtocolTests expectations
 - Remove test case for InlineData "Missing required property 'protocol'"
 - Update JsonHubProtocol & JsonUtils to throw InvalidDataException
 - Update corresponding test expectations
 - Add back removed test

Addresses #1203
2018-01-11 13:23:30 -08:00
.vscode
benchmarks/Microsoft.AspNetCore.SignalR.Microbenchmarks Split MsgPack into separate assembly (#1274) 2018-01-10 14:20:57 -08:00
build remove dependency on system.buffers.primitives (#1287) 2018-01-11 11:28:08 -08:00
client-ts Split MsgPack into separate assembly (#1274) 2018-01-10 14:20:57 -08:00
samples SocketsSample Send to Connection (#1285) 2018-01-11 11:34:02 -08:00
specs Fix #1170 by removing invocationId from non-blocking calls (#1218) 2017-12-19 10:40:58 -08:00
src Throw InvalidDataException instead of FormatException in NegotationProtocol (#1246) 2018-01-11 13:23:30 -08:00
test Throw InvalidDataException instead of FormatException in NegotationProtocol (#1246) 2018-01-11 13:23:30 -08:00
.appveyor.yml
.gitattributes
.gitignore
.travis.yml Revert package version to 1.0.0-preview1 and update build tools 2017-12-20 22:42:56 -08:00
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md Fix dotnet myget npm registry link (#1223) 2017-12-18 08:18:52 -08:00
SignalR.sln Split MsgPack into separate assembly (#1274) 2018-01-10 14:20:57 -08:00
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-01-06 15:37:21 -08:00
korebuild.json Revert package version to 1.0.0-preview1 and update build tools 2017-12-20 22:42:56 -08:00
run.cmd
run.ps1
run.sh
version.props Revert package version to 1.0.0-preview1 and update build tools 2017-12-20 22:42:56 -08: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-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-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.9 or newer) and npm to be installed on the machine.

See developer documentation for more details.