ServiceStack: How to make InMemoryTransientMessageService run in a background
问题 What needs to be done to make InMemoryTransientMessageService run in a background thread? I publish things inside a service using base.MessageProducer.Publish(new RequestDto()); and they are exececuted immediately inside the service-request. The project is self-hosted. Here is a quick unit test showing the blocking of the current request instead of deferring it to the background: https://gist.github.com/lmcnearney/5407097 回答1: There is nothing out of the box. You would have to build your own.