Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult. This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
I found out that when the HTML contains a /* none is rendered in PDF like it thought to be dealing with a css comment, I had also some problems with views in MVC areas so I ended up moving all the printable views on the main View/Shared folder
I found out that when the HTML contains a /* none is rendered in PDF like it thought to be dealing with a css comment, I had also some problems with views in MVC areas so I ended up moving all the printable views on the main View/Shared folder