Sharing context between HTTP server and WS server #371
Unanswered
jan-kacina
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @JozefFlakus ,
I have a service which is required by both HTTP and WS servers. When I bind the service to HTTP as well as WS server context, there will occur two separate instances of the service. That situation is not with accord to DI approach to have only one instance valid for whole application.
How would you approach to this issue?
Is it possible to share context between HTTP server and WS server?
Thanks in advance,
Jan Kacina
Beta Was this translation helpful? Give feedback.
All reactions