While I was trying to get a better overview on the UPnP subsystem, I found this in BackendExtension.RegisterBackendServices (line 65):
I can't believe that this is intended. One of them seems redundant.
In StartupBackendServices, we only have:
and in ShutdownBackendServices there is only:
For all other services we always register the Interface - not the class. So if I'm right, we should probably remove the registration of the class and later startup and shutdown the Interface instead of the class.
Michael
Code:
logger.Debug("BackendExtension: Registering IUserProfileDataManagement service");
ServiceRegistration.Set<IUserProfileDataManagement>(new UserProfileDataManagement());
ServiceRegistration.Set<UserProfileDataManagement>(new UserProfileDataManagement());
In StartupBackendServices, we only have:
Code:
ServiceRegistration.Get<UserProfileDataManagement>().Startup();
Code:
ServiceRegistration.Get<UserProfileDataManagement>().Shutdown();
Michael