I want to display a file using anchor tab that does not exists in root folder. How can I achieve that. I have these two anchor tabs on my cshtml page
<a href="~/DisplayFiles/Quarter4/Q4-test - Copy_231131_133432504448693604.pdf">test</a><br/>
I can easily open the first file because it exits in wwwRootfolder/ DisplayFiles/Quarter4, but I cannot display the second file because it exits in C:\test drive. In .net core, can I display a file that exists in another folder and not in wwwRoot folder.
any help will be appreciated.