I have a SPA ServiceStack application, which has a FallbackForClientRoutes set up to return the default index.html page, to allow for client-side routing.
This works fine until deployed to my production environment, which contains a legacy WCF service set up as an application in IIS beneath my ServiceStack site, sitting at the /webservice/ route.
The problem is that requests to the /webservice/Service.svc URL are picked up and handled by the FallbackForClientRoutes handler.
Is there a way that I can ignore requests to /webservice/* within ServiceStack (or in the web.config/IIS) and just let them fall through to the sub application?
This issue is not due to FallbackForClientRoutes which is just the ServiceStack Service which handles the request,
the issue is that ASP.NET doesn’t allow handlers to fallback to allow on to the next handler and you likely have ServiceStack configured to handle the / root path.