0
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
Inject the
IWebHostEnvironment
interface, try adding theWebRootPath
property ofIWebHostEnvironment
to the path.see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/file-providers?view=aspnetcore-3.1