Looking for docs / guidance on Blazor Web View communications with app code (and vice-versa) #5087
Unanswered
domingoladron
asked this question in
General
Replies: 1 comment 3 replies
-
Found the answer. Cheers |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I've got a baseline Blazor Maui app running and that's sweet, but what's still patently unclear is HOW you bridge the logical universe between a BlazorWebView and the code outside of the WebView.
So, for example, I have a simple Blazor app that allows for editing of files, but then I want the content of those files to be fed back to the desktop app so that can write this data to a directory / file.
Are there any such docs / guidance around? Understanding this communications paradigm is pretty critical to the successful development of an app.
I am assuming there is some kind of eventing system in the Blazor side which allows you to call out from the Blazor code and then have say the Xaml logic in the desktop app to register an event handler to listen for such messages.
Beta Was this translation helpful? Give feedback.
All reactions