dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

How to push messages to the frontend after the backend operation is completed in the controller or method #174

Closed qcjxberin closed 5 years ago

qcjxberin commented 5 years ago

How to push messages to the frontend after the backend operation is completed in the controller or method

dsuryd commented 5 years ago

There is no trivial way for an ASP.NET controller to communicate with a specific view model instance as they live in different server contexts. Here's a related discussion that might give you an idea: https://github.com/dsuryd/dotNetify/issues/165