How to implement SignalR in ASP.NET web API project with Angular 6 front end
up vote
1
down vote
favorite
I already created a ASP.NET web API project and separately created Angular 6 project and connected 2 domains with CORS. Now I just want to add SignalR to get user notifications in the database update of a certain table.
EX: when I add a new user to the system existing users need to notify a new user added in real time.
I created another ASP.NET web API project in the same solution in Visual Studio to implement SignalR and I have no idea to connect those projects.
How to implement SignalR functionalities to get real time notifications. Please give some explanation with code snippets.
asp.net asp.net-web-api signalr angular6
add a comment |
up vote
1
down vote
favorite
I already created a ASP.NET web API project and separately created Angular 6 project and connected 2 domains with CORS. Now I just want to add SignalR to get user notifications in the database update of a certain table.
EX: when I add a new user to the system existing users need to notify a new user added in real time.
I created another ASP.NET web API project in the same solution in Visual Studio to implement SignalR and I have no idea to connect those projects.
How to implement SignalR functionalities to get real time notifications. Please give some explanation with code snippets.
asp.net asp.net-web-api signalr angular6
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I already created a ASP.NET web API project and separately created Angular 6 project and connected 2 domains with CORS. Now I just want to add SignalR to get user notifications in the database update of a certain table.
EX: when I add a new user to the system existing users need to notify a new user added in real time.
I created another ASP.NET web API project in the same solution in Visual Studio to implement SignalR and I have no idea to connect those projects.
How to implement SignalR functionalities to get real time notifications. Please give some explanation with code snippets.
asp.net asp.net-web-api signalr angular6
I already created a ASP.NET web API project and separately created Angular 6 project and connected 2 domains with CORS. Now I just want to add SignalR to get user notifications in the database update of a certain table.
EX: when I add a new user to the system existing users need to notify a new user added in real time.
I created another ASP.NET web API project in the same solution in Visual Studio to implement SignalR and I have no idea to connect those projects.
How to implement SignalR functionalities to get real time notifications. Please give some explanation with code snippets.
asp.net asp.net-web-api signalr angular6
asp.net asp.net-web-api signalr angular6
asked Nov 19 at 4:21
Ramesh Perera
61
61
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34
add a comment |
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53368273%2fhow-to-implement-signalr-in-asp-net-web-api-project-with-angular-6-front-end%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Take a look at proxy: docs.microsoft.com/en-us/aspnet/signalr/overview/…
– Just code
Nov 19 at 4:34