Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Oct 02, 2017
Nov 21, 2017
CMS Core
Closed, Fixed and tested
When using AddHttpContextOrThreadScoped<TService, TImpl>() to register multiple implementations, the last implementation is registered for all. So, calling ServiceLocator.Current.GetAllInstances<TService>() does not return all types – it returns a list of the last registered type.