I am trying to integrate the viewer into my existing blazor project, I thought I had copied everything from the sample but cant seem to get past this issue and unable to debug:
I added references to the Doconut.Config, Formats and Viewer DLL’s, updated the startup.cs to match the sample, added JS files and updated _Host.cshtml to load them and added the DocView.razor component.
I implemented the same OpenDocument method on the local page that is using the viewer and I am just passing a filename to it in the same way but get this exception raised from the OpenDocumentInstanceJS method:
System.ArgumentNullException: ‘Value cannot be null. Arg_ParamName_Name’
Capture.PNG (40.6 KB)