Blazor Client Side - how intercept User Activity RRS feed

  • Question

  • User1461220549 posted


    I want to check if a logged-In user is doing some activity.

    This in client side without check and consider the http requests to the server.

    Some tips ?

    Thanks in advance

    Sunday, March 29, 2020 3:40 PM

All replies

  • User-474980206 posted

    As blazor does not access to the network (it calls JavaScript to access the network), this would be done in JavaScript. The best place is to write a service worker, as these were designed to allow filtering and intercepting of all network requests. Currently server workers can only be written in JavaScript. 



    Sunday, March 29, 2020 6:37 PM