Go to file
David Fowler 934f6a70d1 Various fixes in HttpConnectionDispatcher (#151)
- The connection state object is manipulated by multiple parties in a non thread safe way. This change introduces a semaphore that should be used by anyone updating or reading the connection state. 
- Handle cases where there's an active request for a connection id and another incoming request for the same connection id, sse and websockets 409 and long polling kicks out the previous connection (https://github.com/aspnet/SignalR/issues/27 and https://github.com/aspnet/SignalR/issues/4)
- Handle requests being processed for disposed connections. There was a race where the background thread could remove and clean up the connection while it was about to be processed.
- Synchronize between the background scanning thread and the request threads when updating the connection state.
- Added `DisposeAndRemoveAsync` to the connection manager that handles`DisposeAsync` throwing and properly removes connections from connection tracking.
- Added Start to ConnectionManager so that testing is easier (background timer doesn't kick in unless start is called).
- Added RequestId to connection state for easier debugging and correlation (can easily see which request is currently processing the logical connection).
- Added tests
2017-01-25 22:27:55 +00:00
samples Remove references to RazorTooling from ChatSample 2017-01-20 12:28:38 -08:00
specs Minor fix to transport protocol spec 2017-01-18 09:13:37 -08:00
src Various fixes in HttpConnectionDispatcher (#151) 2017-01-25 22:27:55 +00:00
test Various fixes in HttpConnectionDispatcher (#151) 2017-01-25 22:27:55 +00:00
tools
typings Adding infrastructure to write node (a.k.a. unit) tests for ts client (#129) 2017-01-18 13:25:23 -08:00
.gitattributes
.gitignore
.travis.yml fix autobahn test app to be an app (#114) 2017-01-11 16:36:48 -08:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md Add AppVeyor and Travis tags 2016-12-19 10:57:42 -08:00
SignalR.sln
appveyor.yml fix autobahn test app to be an app (#114) 2017-01-11 16:36:48 -08:00
build.cmd
build.ps1
build.sh
global.json add "messaging" endpoints and transports 2017-01-09 16:01:08 -08:00
makefile.shade
package.json Adding infrastructure to write node (a.k.a. unit) tests for ts client (#129) 2017-01-18 13:25:23 -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.

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.

Note To build the project locally at this time you will need the TypeScript Compiler on your path.