Replies: 5 comments 8 replies
-
I created a sample Blazor web app: https://github.com/agriffard/Zeugma I use the preview 1.8.* version of OC packages. |
Beta Was this translation helpful? Give feedback.
-
No need to call In svc.AddRazorComponents()
.AddInteractiveServerComponents()
.AddInteractiveWebAssemblyComponents(); and moving statements after a.UseAntiforgery();
b.MapRazorComponents<App>()
.AddInteractiveServerRenderMode()
.AddInteractiveWebAssemblyRenderMode()
.AddAdditionalAssemblies(typeof(Counter).Assembly);
|
Beta Was this translation helpful? Give feedback.
-
Thank you @ns8482e, I made the change you suggested in Program.cs but it is still not working, the OC setup does not appear. https://github.com/agriffard/Zeugma/blob/main/src/Zeugma/Program.cs |
Beta Was this translation helpful? Give feedback.
-
With the help of the PR that is open for Blazor and OC and this discussion, I came up with this so far, enabling multitenancy. https://github.com/psijkof/oc-mt-blazor8-iserver/tree/master |
Beta Was this translation helpful? Give feedback.
-
I am trying to reproduce in .NET 8 with a new Blazor web app what I have been able to do in .NET 6 and that I described here #13611:
Make OC and Blazor work together and use the @OrchardHelper in a decoupled mode.
Unfortunately, I don't manage to make it work.
The first step would be to display the OC setup screen but it does not appear.
If someone has a suggestion to go further, please tell me.
Beta Was this translation helpful? Give feedback.
All reactions