Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a ASP.NET project which also have content inside wwwroot. I need to link to a wwwroot/docs/index.html file there.

If i'm running https://localhost:5001[^] i'm coming to the Home/Index.cshtml page.

If i'm running https://localhost:5001/wwwroot/docs/index.html[^] nothing is visible.

How can i link?

What I have tried:

https://localhost:5001/wwwroot/docs/index.html[^]
Posted
Updated 21-Sep-18 22:04pm

For ASP.NET Core, just remove the wwwroot part:
https://localhost:5001/docs/index.html
 
Share this answer
 
Thank you very much. It helped :-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900