This solution has 2 project. SignalRServer.API and SignalRClient.MVC. I managed SignalR hub in SignalRServer.API project. Firstly I send request to signalR hub for getting signalR connectionId from MVC project. Secondly I send request to GetGamesMethod with connectionId in API project. I created request with ajax. After that, when the UpdateGame method is triggered in the API project, SignalRHub(ChangeGame) is triggered and products are automatically updated in client projects that listen to SignulRHub.
-
Notifications
You must be signed in to change notification settings - Fork 0
tahsintiryaki/SignalROnlineShop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It is a project that talks about how to update the product live in a simple way on the online store website. I developed the project with .net 8 and signalR. I hope it helps you
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published