I am trying to change ServiceStack in my service from 3.9.43 to 4.0.9.
I had to change a few things in my code and basically followed the release notes for this .
There were a few strange things for me, such as the fact that I did not find anything that could replace ServiceStack.WebHost.Endpoints or AppHostHttpListenerLongRunningBase, but I was able to verify these things and was able to compile my code.
The problem is that when I run my code, I get this exception at the very beginning, and it just kills the service:
The method 'ExecuteMessage' in type 'ServiceStack.Host.ServiceController' from the assembly 'ServiceStack, Version = 4.0.9.0, Culture = neutral, PublicKeyToken = null' has no implementation.
I get this when I hit the base:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ServiceStack;
using ServiceStack.Text;
using ServiceStack.Web;
namespace ThisService {
public class AppHost : AppHostHttpListenerPoolBase {
public AppHost(int wthreadMax)
: base("This Service " + VcsInfo.ChangesetId, wthreadMax, typeof(ThisService).Assembly) {
}
...
:
ServiceStack (4.0.9.0);
ServiceStack.Client;
ServiceStack.Common;
ServiceStack.Interfaces;
ServiceStack.Text
, - , 4. * , Execute, , . , ?
, : get json → math + stuff → return json.
, , , 3.9.43 4.0.9 ( , , ), , .