We implemented the PDF viewer using Vuejs as FRONT and C# as BACK. We follow the following tutorial to implement the server:
https://www.syncfusion.com/kb/11063/how-to-create-pdf-viewer-web-service-in-net-core-3-0-and-above
However, after doing this implementation on the server, we had difficulties with the 400 error that was given after we sent the parameters for the request. Because some values were passed as INT and this was not expected on the server, it caused the BAD REQUEST error. The alternative we had was to convert all the values that were sent to the server as a String. This palliative alternative worked for a while, however we ran into a serious problem recently.
Unfortunately, the search for words, which is a widely used feature, only works for words that have already been loaded in the user's field of view. All the words that are on other pages that haven't gone through RenderPDFPages don't work. For some reason, when I try to use this word search course, it completely ignores the conversion configuration we set up and causes the 400 error.
Do you have any alternative for this kind of problem?
Attachment:
pdfViewerBadRequest_ad6eddff.rar