-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Blazor] Discourage use of DotNet.invokeMethod
and DotNet.invokeMethodAsync
#48396
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
Comments
Thanks for contacting us. We're moving this issue to the |
Thanks for contacting us. We're moving this issue to the |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
这些什么时候能处理完成 |
Thanks for contacting us. We're moving this issue to the |
DotNet.invokeMethod
and DotNet.invokeMethodAsync
Closing as we don't think we'll do this. |
The
DotNet.invokeMethod
andDotNet.invokeMethodAsync
APIs currently throw when more than one interactive runtime is present. We should be encouraging developers to replace usage of these methods withDotNetObjectReference
method invocations so that JS->.NET interop works regardless of which combination of .NET runtimes are available.We should consider logging a warning during development if we detect usage of
DotNet.invokeMethod
orDotNet.invokeMethodAsync
.The text was updated successfully, but these errors were encountered: