The API which I'm building is running in IIS express in Visual studio and on a test server which uses the same IIS as the live server. On both the IIS express and the test server works the API just fine, but when we put it on the live server it keeps returning a 404 response.
All the settings are as far as I know dafault, but what do I need to check for errors more then the verbs?
It looks like it has to do with an setting in the web.config. The Managed Pipeline Mode is set to Integrated (classic mode will cause also this problem) and added:
<system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> source. Now the api is returning a http 500 error, but that is something I've to fix in the code.