Have created a very weird WCF Web Service problem for myself.
I've built myself a RESTful WCF Web Service by following this skonnard article: http://msdn.microsoft.com/en-us/library/dd203052.aspx
If I leave my service alone for a while and then test the URI path again that was returning some JSON data, the browser will download the .svc file instead!
I can get the service going again by pointing Visual Studio at the IIS Application Folder, deleting the web.config file and getting VS to create a new one. Then we're off and running again for a while before the behaviour returns.
So very weird. First I saw the problem I thought the .svc handler mappings were borked, though a cursory inspection indicated they looked ok, so I ran ServiceModelReg.exe -i - didn't help.
Am really scratching my head on this one... <LittleMiniRant>and getting quiet sick of WCF, it seems more trouble than it's worth. People I know that work with WCF a lot, get very superstitious about the config, once it's up and running it is NOT ALTERED for any reason WHATSOEVER.</LittleMiniRant>
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.