I have a WCF WebApi Rest service that has the following endpoints:
[WebGet(UriTemplate = "{id}")]
and
[WebGet(UriTemplate = "{id}.pdf")]
The first endpoint returns JSON and the second endpoint returns a pdf. Both of these endpoints work in my local environment, but the pdf endpoint returns a 404
on the server running IIS7.
Is there some sort of setup IIS7 that is needed in order for the route to get executed?