This is a migrated thread and some comments may be shown as answers.

MessageBoxService in Azure

3 Answers 51 Views
Window
This is a migrated thread and some comments may be shown as answers.
Giampaolo
Top achievements
Rank 1
Veteran
Giampaolo asked on 06 Apr 2020, 05:55 PM

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

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Apr 2020, 06:17 PM

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.
0
Giampaolo
Top achievements
Rank 1
Veteran
answered on 06 Apr 2020, 06:22 PM

Yes tnx for rapid reply

The problem is the static definition OnShowMessageBox !

Mine was a stupid question !

Excuse me !

0
Marin Bratanov
Telerik team
answered on 07 Apr 2020, 06:58 AM

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.
Tags
Window
Asked by
Giampaolo
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Giampaolo
Top achievements
Rank 1
Veteran
Share this question
or