* Progress towards splitting the layers - This is based on the work anurse did in anurse/endpoint-middleware-spike to introduce a connection middleware pipeline that mimics much of our http pipeline. The intent is that this layer will be generic enough to build both SignalR and Kestrel on top of but we're not there yet. This change makes incremental progress towards splitting apart sockets and http so that we can add the tcp transport without breaking everything all at once. - Created Microsoft.AspNetCore.Sockets.Abstractions where the primitives for sockets live. That includes, ConnectionContext (formerly Connection), EndPoint, ISocketBuilder, SocketDelegate, etc. - ConnectionContext isn't in it's final form as yet, it still very closely mirrors the original Connection object we had so that tests continue to pass. - The HttpConnectionDispatcher doesn't know about EndPoint anymore, it just cares about invoking the SocketDelegate. - EndPointOptions has been removed as part of this change as it coupled http specific configuration to the end point type. There's a new HttpSocketOptions that needs to be passed into MapSocket calls. - Updated the tests to deal with the API changes. |
||
|---|---|---|
| build | ||
| client-ts | ||
| samples | ||
| specs | ||
| src | ||
| test | ||
| typings | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| SignalR.sln | ||
| appveyor.yml | ||
| build.cmd | ||
| build.ps1 | ||
| build.sh | ||
| version.props | ||
README.md
ASP.NET Core SignalR
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.
Note To build the project locally at this time you will need the TypeScript Compiler on your path.
The JavaScript client is being published to our dev npm registry. The module contains a browserfied version of the client. You can install the module using the following command:
npm install signalr-client --registry https://dotnet.myget.org/f/aspnetcore-ci-dev/npm/