How to return a PDF from a Web API application

I have a Web API project that is running on a server. It is supposed to return PDFs from two different kinds of sources: an actual portable document file (PDF), and a base64 string stored in a database. The trouble I’m having is sending the document back to a client MVC application. The rest of this is the details on everything that’s happened and that I’ve already tried.

Best Server-side .NET PDF editing library

What’s the best .NET PDF editing library available, and why? It needs to be used on an IIS web-server. Specifically, I need to edit a PDF which was generated by reporting services. Factors I’m interested in: Speed Memory Consumption Price Quality of documentation Library stability Size of library Whatever else you think is important Answers: … Read more