dotNetCore module - error picking up converted file
If CADViewer controller is implemented in a module, the CADViewer parameter for callbackMethod in apsettings.json, needs to have a qualified URL pointing to the controller end-point in the module, as it will otherwise be evaluated on top-level.
original apsettings.json
{
"CADViewer": {
...
"callbackMethod": "/CADViewer/getFile",
....
}
}
changed apsettings.json
{
"CADViewer": {
...
"callbackMethod": "https://localhost:44325/_content/Sub.Module.CadViewer/CADViewer/getFile",
....
}
}