I'm using 3.1.31
My report controller is named
ReportViewerController
with [Route("/api/[controller]/[action]")]
in VS this works fine
report-service-url="/api/ReportViewer"
on a real IIS server with url http://localhost/mySite it tries to route to
http://localhost/api/ReportViewer/
I have use this to make it work outside of VS
report-service-url="/mySite/api/ReportViewer"
Is there a way to resolve this so the same code works in VS and production?