0

I want a function that load/read a pdf file that's stored in specific path into C disk, and return this as pdf. First of all, i should use WebApi Controller or MVC Controller? Also, can anyone of this controllers read a file stored inside C: disk?

What headers should use to return a pdf file?

i some similar cases, but no one help me. 1 2

Community
  • 1
  • 1
GomuGomuNoRocket
  • 771
  • 2
  • 11
  • 37
  • 1
    If you have written some code for this but you can't get it to work, then you have come to the right place: just add your code (or the relevant parts) to the question. Without that we cannot help. Please see stackoverflow.com/help/how-to-ask – Peter B Nov 17 '16 at 08:36
  • Possible duplicate of [How to return PDF to browser in MVC?](http://stackoverflow.com/questions/1510451/how-to-return-pdf-to-browser-in-mvc) – CodeCaster Nov 17 '16 at 12:10

0 Answers0