The answer to the myth did not help me.
I started by adding the location tag to web.config with the servicestack configuration. I found that servicestack worked with path = "*" - but took a lot of requests (Episerver), but solved it as follows:
<location path="UniqueTag"> <system.web> <httpHandlers> <add path="*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" /> </httpHandlers> </system.web> </location>
And then prefix all routes with UniqueTag:
[Route("/UniqueTag/DeletePost/{Id}", Verbs = "POST")]
But note that option 2 of the answer to the myth may also be required, since the default setting was set in our solution.
Morten holmgaard
source share