Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I transform to a PDF file the result of an Api that returns an HttpResponseMessage in order to download it from ASP.Net Core.
Thank you.

What I have tried:

The Api generates a report in Crystal Reports in PDF format and returns it via an HttpResponseMessage. It could also return an array of bytes using a FileStream. How can I download the PDF file in the browser from an Asp.Net Core project?
Posted
Updated 14-Jan-21 20:41pm

1 solution

Crystal Reports doesn't support .NET Core. Better look for alternatives.

SAP Crystal Reports, version for Microsoft Visual Studio Supported Platforms[^]
Threads related to answers by Crystal reports
Crystal Reports in ASP .NET Core 2.0 - SAP Q&A[^]
.NET(core)5 - SAP Q&A[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900