I'm struggling with a problem in HasUniqueDomainSignatureAttribute() when the call to DependencyResolver.Current.GetService<IEntityDuplicateChecker>() is made (it returns null though I registered it in ObjectFactory.Initialize())
I've added a UserProfile class to the AspNetUser according to this article. The UserProfile inherits from base class Entity and I have the attribute [HasUniqueDomainSignature] on UserProfile.
The problem occurs when I for example use AspNet.Identity:s CreateAsync() method which in turn calls HasUniqueDomainSignatureAttribute(). CreateAsync() runs in a separate thread outside of the http context and I think it creates the problem.
Has anyone encountered the same problem or has any suggestion how to solve it?
Thanks,
Ingo
--
You received this message because you are subscribed to the Google Groups "S#arp Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sharp-lite+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.