we are currently migrating our old full Framework ASP.NET application to new ASP.NET Core Web API backend with a React frontend.
I already have succeeded to adapt the Using the Web API with Angular sample to React. However, the report and its parameters are fixed.
Here's how I understand the flow:
- the controller gets an initial get request, and StiNetCoreViewer.ProcessRequestResult responds with the required JS code. This endpoint is called only once.
- Afterwards, my JS code calls StiViewer.renderHtml, which in turns sends POST requests to the web API to get the actual report.
Thanks in advance
Thomas