ASP.NET Core SignalR chat with Angular 5 - https://codingblast.com/asp-net-core-signalr-chat-angular
import { Component } from '@angular/core'; | |
import { HubConnection } from '@aspnet/signalr-client'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent { | |
private hubConnection: HubConnection; | |
nick = ''; | |
message = ''; | |
messages: string[] = []; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment