We have a reporting solution that works like this.
- User order the report to be created and teh service method returns
- Report is created (this can take a while) as a file
- Client app polls to see if the report is finished
- The clientet app asks to get the finished report
The report can be of the types xml, xls, txt, etc.
What is best practice for giving that the report file to the client? I have seen a sample using REst and Stream, but that does not fit so well.
What datatype must We use if we wantto return it in a DTO?