Using Syncfusion WebAssembly In Oqtane Modules #1200
-
I am trying to update this article: Using Syncfusion In Oqtane Modules to work when Oqtane is running in WebAssembly mode (you can switch modes by updating the Runtime property to WebAssembly in the appsettings.json file in the Oqtane website). When I run it, I get the following error: A search for: There is no registered service of type 'Syncfusion.Blazor.ISyncfusionStringLocalizer' reveals that Syncfusion is complaining that it is not properly registered: https://www.syncfusion.com/forums/160902/how-to-disable-localization-isyncfusionstringlocalizer-error Syncfusion is properly registered when running Server mode by creating a class that implements the IServerStartup interface (see: https://blazorhelpwebsite.com/ViewBlogPost/47): However, when Syncfusion is running in WebAssembly mode, it wants to be registered in the Program.cs file in the Client project like this: @sbwalker - How do I do that in Oqtane? Thank You! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@sbwalker - I just ran across this that talks about a IClientStartup interface (sigh) . Let me try that first... I'll report back... |
Beta Was this translation helpful? Give feedback.
@sbwalker - I just ran across this that talks about a IClientStartup interface (sigh) .
Let me try that first... I'll report back...