MessageBoxService in Azure

4 posts, 0 answers
  1. Giampaolo
    Giampaolo avatar
    20 posts
    Member since:
    Mar 2020

    Posted 06 Apr Link to this post

    Hi

    I'm using your implementation of MessageBoxService in blazor-ui-master.

    All works fine but........ when I deploy the webapp in Azure happen a strange issue

    When one client open the messagebox all the other connected user, in different places connected to the same web app, can see the same windows opened.

    I know: this is a very stupid question, but I do not know how to solve it.

    I've tried to modify in startup from addscoped to addtransient..... but I obtain the same issue.

    Tnx

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5528 posts

    Posted 06 Apr Link to this post

    Hi Giampaolo,

    The sample in the public repo is not something we made so it is not something we support. That said, this does, indeed, look like a global variable or instance being used so perhaps there is such an issue in the code (say, a static class, or another hidden service that is not scoped but is a singleton).

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. Giampaolo
    Giampaolo avatar
    20 posts
    Member since:
    Mar 2020

    Posted 06 Apr in reply to Marin Bratanov Link to this post

    Yes tnx for rapid reply

    The problem is the static definition OnShowMessageBox !

    Mine was a stupid question !

    Excuse me !

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5528 posts

    Posted 07 Apr Link to this post

    Hello Giampaolo,

    If the issue is present in the repo sample, we'd appreciate a pull request with the fix, it might help a lot of other people too.

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top