Are the message handlers scoped services?

Hi All,

are the message handlers scoped services ?, are they registered in the DI container ?, i am injecting a scoped service in to the message handlers constructor where iam setting few properties on that service and in the downstream i am using the same service to retrieve the properties that are set from the handler.

Thanks
-Nenz

Hi Nenz,

To answer your question, the handlers are registered as scoped. Could you provide additional details about the problem that you are trying to solve?
If so I may be able to offer alternative suggestions as well.

hi @Adam_Wright thank you for the reply, there is a exisiting in-house library that we are using that has a scoped service that requires few properties to be set, so wanted to make sure that i could consume that library in the handler.

Thanks Again !!!
-Nen

Great! Let us know if you have any further questions.