Open justlucky opened 1 week ago
This bug has been discussed before, but it has not been merged into the main branch yet.
enable module; open /Hello
This bug has been discussed before, but it has not been merged into the main branch yet.
Can you link to the issue that you mention?
I won't solve this problem, it's a bit difficult for me, but it has been discussed before; I can only provide a method of reproduction, as I uploaded the module code for OrchardCore above; You can also take a look at the previous discussion records.
reference bug https://github.com/OrchardCMS/OrchardCore/issues/15211
@sebastienros
Describe the bug .net8+orchardcore create webpage, use blazorserver mode @(await Html.RenderComponentAsync(RenderMode.ServerPrerendered)) error.
error content: System.InvalidOperationException: The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state.
To Reproduce Steps to reproduce the behavior:
Create a OrchardCore app, add module, and add WebPage page. Create blazorclasslibrary project, add default Component. call Html.RenderComponentAsync in webpage. browser webpage. Expected behavior System.InvalidOperationException: The current thread is not associated with the Dispatcher. Use InvokeAsync() to switch execution to the Dispatcher when triggering rendering or component state.
Screenshots
reference bug #15211