Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

get file from application layer #8656

bosalah created

hi >> angular 8 + asp core 3.1 i am trying to use RDLC report file file from aplication layer and convert it to pdf the same way u make excle export files but with rdlc to pdf converter my qustion is: can i use the file directly from aplication layer or i have to convert it to "Embedded Resource File" and use it from web host controller i tryied alot but i have error that say " file path not found "

1 Answer(s)
  • 0
    maliming created
    Support Team

    Inject the IWebHostEnvironment interface, try adding the WebRootPath property of IWebHostEnvironment to the path.