0
My api is not working after deploy to the server, it is returning:
404 - File or directory not found.
The Resource you are Looking for Might have been Removed, had its name changed, or is temporarily unavailable.
Doing some tests I discovered the following, is making the call so and not right:
but if I do it right:
http://myServitor/api/api/Book
'Cause it’s right when I put api
twice? I couldn’t do that in the code, apply api
twice on the route.
You published it on IIS, right? By chance you created an application within the "Default web site"?
– Barbetta
StatusCode 404
means address not found, your call is not hitting the API!– Marconi
Already checked if route in production environment is equal to environment in development?
– Marconi