This is not a post in how you deploy to AppHarbor, how you write your first WCF Web Api app or how to resolve local 404 errors with PUT and DELETE. This is a post of what you should do if everything is working locally but you still get 404 errors on AppHarbor, that is the error I got when I deployed my first WCF Web Api app to AppHarbor. After discussing with the support at AppHarbor and posting to StackOverflow the guys at AppHarbor find the answer. The simple solution is that you need to have the following in your web.config to get the app running on AppHarbor.
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
AppHarbor might be able to resolve this so you don’t need this in your web.config, but at the moment you do. Enjoy!
Comments are closed.