I have some problems using a derived RegisterService (ServiceStack.Auth) when called from inside my ServiceStack host.
- standard net core installation of ServiceStack and MVC
- I have a service defined which I resolve (TryResolve in the controller)
- service is resolved, and within that service I resolve the internal RegisterService
With that I get following error:
This AppHost does not support accessing the current Request via a Singleton
Any idea how to resolve this.
For the moment I am “fixing” it by creating a
JsonHttpClient and then call the same service via the rest interface but this seems a bit of overkill.