08 Oct 2007
14 Feb 2012
Link to this post
I've added a custom WCF service to my Sitefinity application. The service is set up to handle JSON posts and return data that the widget will then display. Using the standard jQuery.ajax command, the method url is in the format: http://somedomain.com/Services/Service.svc/DataMethod. Obviously, the Sitefinity PageRouteHandler intercepts that URL, tries to figure out what DataMethod is, and throws a 404.
Is it possible to disable the default PageRouteHandler for the Services folder? Basically, I need a configuration that just tells the site to process that call like a normal .NET service call without any of the page routing commands kicking in. Any suggestions on how to make this happen?