Resolving a ServiceStack Service and defining content type
问题 I'm currently developing a C# ServiceStack API. In one of the Services I need to execute another service. I resolve the service from the Funq container and execute the relevant method but get json returned instead of .net objects. I understand this is because the original request from the front end was for a content-type of json and the default content type is json. Is there a way I can resolve the service and execute its methods but receive .net objects instead? 回答1: You can execute and