Hello everybody,
i try to publish .net core web api on iis , create iis web webapp under defaultwebsite, applicatio pool with no managed code, but i have 404 error.
after i manually added wwwroot on deploy folder and put inside example.gif , and from browser go to localhost/mywebapi/example.gif works ok.
After that, i create another .net core webapp (webapp this time not web api) then deploy and create another iis webapp with the same applicationpoll used before.
This works perfectly
Why web app project work's and web api don't ?