Alright, I've found a workaround:
1. Create a virtual directory in IIS pointing to the (Ajax-Enabled WCF Service)
ASP.NET directory of choice (also, make sure .svc extension is mapped to
aspnet_isapi.dll).
2. Change the startup page for your web app by setting the Start URL (Property Pages |
Start Options) to the one hosted by IIS. So, for instance, if your the page that makes the AJAX WCF
call is Default.aspx your Start URL will be http://localhost/AjaxWebSite/Default.aspx. That way, once you
make any changes to your app, it'll picked up by IIS.
I believe that the self-hosting functionality in Visual Studio is not bullet-proof when it comes to
creating/hosting AJAX WCF services on the fly, and that's obviously not the case with IIS.
This workaround seems to be working for me consistently, at least for now. Tomorrow may be a different story 