[blazor] Remove reference to BINDING api in global namespace
See original GitHub issueThe blazor hotreload feature expects BINDING api to be exported to global namespace in the https://github.com/dotnet/sdk/blob/main/src/BuiltInTools/BrowserRefresh/BlazorHotReload.js.
The https://github.com/dotnet/aspnetcore/pull/46693 rewrote the invoke as a JSImport and with that we can call directly the async function receiveHotReloadAsync
.
With the resolution of this issue we can remove disableDotnet6Compatibility: false
from https://github.com/maraf/aspnetcore/blob/99a1d2c0cb39cbddb0e771d76c15fa96cae46261/src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts#L347
Issue Analytics
- State:
- Created 5 months ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
ASP.NET Core Blazor globalization and localization
This article explains how to render globalized and localized content to users in different cultures and languages. For globalization, Blazor ...
Read more >Call a web API from an ASP.NET Core Blazor app
This article describes how to call a web API from a Blazor app. Note. The code examples in this article adopt nullable reference...
Read more >Blazor regression in 7.0.302 SDK · Issue #8718 · dotnet/razor
error CS0400: The type or namespace name 'InputComponent' could not be found in the global namespace (are you missing an assembly reference?)
Read more >c# - How to remove unused using namespaces
Yes you can right click on the page and from the menu select; Organise Usings > Remove Unused Usings. Alternatively if you prefer...
Read more >Designer does not recognize referenced namespaces
It seems that it fails to recognize anything from the Global project. In column binding, for example, it can't find the class properties, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
disableDotnet6Compatibility: false
is there also for 3rd party code which uses those global objects. Let’s flip it together with legacy interop when we link it out by default in the next major version (Net9).Confirmed, this is not necessary to be fixed in preview4.