Go to file
ivankarpey 665f166d67 fix issue with incorrect user detection when Invoking for User (#747)
* fix issue with incorrect user detection when Invoking for User

* fix failed testcases

* use proper extension method to avoid potential null reference exception

* fix for channel name in redis version + follow SignalR team recommendations

* remove unncessary freespace

* remove whitespaces

* introduce IUserIdProvider to resolve user id

* Move IUserIdProvider from HubLifetimeManager to HubConnectionContext

* setting user id to connection context in hubendpoint
2017-10-06 11:58:18 -07:00
.vscode Checking if window.document defined before trying to resolve url 2017-09-28 17:01:34 -07:00
benchmarks/Microsoft.AspNetCore.SignalR.Microbenchmarks
build
client-ts Fixing JS end-to-end tests 2017-10-04 12:04:08 -07:00
samples Merge branch 'rel/1.0.0-alpha2' into dev 2017-09-25 23:44:25 -07:00
specs Fix the VarInt example for the 2GiB 2017-10-06 10:38:21 -07:00
src fix issue with incorrect user detection when Invoking for User (#747) 2017-10-06 11:58:18 -07:00
test fix issue with incorrect user detection when Invoking for User (#747) 2017-10-06 11:58:18 -07:00
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
SignalR.sln Increase Minimum Version of Visual Studio to 15.3.0 2017-09-21 18:00:40 -07:00
build.cmd
build.ps1
build.sh
version.xml

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.