The Wayback Machine - https://web.archive.org/web/20220215115629/https://github.com/dotnet/aspnetcore/issues/40245
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load blazor in an angular app #40245

Open
1 task done
MarioGit1 opened this issue Feb 15, 2022 · 0 comments
Open
1 task done

Cannot load blazor in an angular app #40245

MarioGit1 opened this issue Feb 15, 2022 · 0 comments

Comments

@MarioGit1
Copy link

@MarioGit1 MarioGit1 commented Feb 15, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

We have a large angular app and for some parts of this app, we want to use blazor because we have a lot of code in c# and we want to use it in the browser.
For booting blazor we load the script '_framework/blazor.webassembly.js' with the attribute 'autostart'=false and after loading we call Blazor.start(). This scenario worked before netcore6.0.
We think the changes in the file 'BootConfig.ts' commit 0ca2ed9 breaks this way.
The comparison 'instanceof Promise' doesn't work, because zone.js patches the native promise.

Describe the solution you'd like

We know this isn't the standard way to use Blazor, but we cannot write the whole app in blazor so we have to use it in this way. Micro-Frontends are very popular, so it should be possible to use different frameworks for one app. If we patch this comparison everything works fine. Maybe there is common solution for this problem.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant