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

404 in IIS 1.0.rc1

$
0
0

Hi,

My web api site upgraded to 1.0.rc1.  And installed platform handler.  But has 404 error.

In beta 8 , the iis virtual app root is bind to http://mysite/api .

In 1.0.rc1 , If I use web.cmd in console with host.ini bind to http://*/api , the api site is ok. But if I hosted in IIS, and bind to http://mysite/api , 404 error .

This is log file:

Hosting environment: Production
Now listening on: http://localhost:17712
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[1]
      Request starting HTTP/1.1 GET http://www.mysite.com/api/values
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[2]
      Request finished in 0.0375ms 404

How to solve this problem?

Thanks!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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