Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created November 14, 2017 04:42
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 Ibro/ed36b71008fa5c8e5332a106519f55ab to your computer and use it in GitHub Desktop.
Save Ibro/ed36b71008fa5c8e5332a106519f55ab to your computer and use it in GitHub Desktop.
ASP.NET Core SignalR chat with Angular 5 - https://codingblast.com/asp-net-core-signalr-chat-angular
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseSignalR(routes =>
{
routes.MapHub<ChatHub>("chat");
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment