ServiceStack routes not loading in SS4 / SF 7
Anyone else having problems migrating to ServiceStack 4 in SF 7? I have 30 some services that I register in global.asax.cs like this:
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.DueServicePlugin());
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.ActivityServicePlugin());
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.ADDServicePlugin());
However, the third plugin (ADDServicePlugin in this case) never loads correctly. It only loads the Get route and not POST, PUT, & DELETE. However, if I rearrange the order to say:
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.ADDServicePlugin());
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.DueServicePlugin());
SystemManager.RegisterServiceStackPlugin(
new
MembershipNP.Services.ActivityServicePlugin());
ADDServicePlugin will load fine but ActivityServicePlugin will only load the Get route. Anyone have any clues? I'm not getting any exceptions or errors in the sitefinity log. I have no idea of the error (or is there another place to check to track in debugging?). Any help is much appreciated. Thanks!
Turns out I was hitting the ServiceStack quota. I purchased a license to confirm and everything worked as expected. It was my understanding that Telerik purchased a ServiceStack license for us to use. Is this not the case or is it a limited version? Is this a bug or am I using ServiceStack incorrectly?
Hello,
In version 7.0 we ship Sitefinity with all settings needed to activate the paid license for ServiceStack therefore you won’t need to buy it separately. Could you make sure that you have upgraded your project following all of the requirements described in our documentation:
Also could you provide us with your web.config file so we can take a look at it and see what may cause the described issue?