Quantcast
Viewing all articles
Browse latest Browse all 9386

How to display images from folder outside wwwroot

I have some images I want to display that are private to the app and thus can't be placed in the static folder wwwroot.

I know how I can show an image by returning a PhysicalFile from a controller, but that will only return the file to the browser to display alone.

I need to show the images within the razor page. How can I do this? 


Viewing all articles
Browse latest Browse all 9386

Trending Articles