I'm running a Node.js server as API for my mobile app on a Windows Azure Website. And I'm having some trouble with it due to the needed web.config - but I couldn't find any really helpful documentation about it. Everything I can find is googling for specific problems on it and with a bit luck I can use the config snippets.
- is there any general documentation about the contents the web.config can contain and their meaning?
- in the start I had the problem that errors were modified by IIS to a general error. But since it's a REST API I want the HTTP status codes to be returned. I got around that with the
<httpErrors existingResponse="PassThrough" />
element, but it doesn't seem to work for every error.
The only documentation I found so far are example configuration files of the iisnode module.