For static files in asp.net core, you need to place them in wwwroot
folder in your project by default.
Follow steps below:
Assets
folder to wwwroot
Change the html code like:
<img src="~/Assets/logo.png" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.