Percall WCF instance server and dependency injection using Prism?

If I have a client / server application type built using both Prism and WCF, and I would like the wcf service to be installed on the server server for each call, but I would like to use dependency injection (using UnityContainer in Prism). How could I do this? Should I have one instance service, this is not a problem, but are there any WCF interceptors in WCF that allow a delegate to be called whenever it is supposed that a service should be created and returns this instance?

Any ideas?

Hurrah!

+3
source share

Source: https://habr.com/ru/post/1714561/


All Articles