Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Host .net core web api on iis

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>