Skip to content

Instantly share code, notes, and snippets.

@alistairjevans
Last active June 9, 2019 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alistairjevans/0c82b2c599cbc615ed33aabb8549cfb8 to your computer and use it in GitHub Desktop.
Save alistairjevans/0c82b2c599cbc615ed33aabb8549cfb8 to your computer and use it in GitHub Desktop.
Adding signalr route
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
//
// Omitted standard content for brevity...
//
app.UseSignalR(cfg => cfg.MapHub<FeedHub>("/feed"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment