Try our conversational search powered by Generative AI!

Performance for ServiceAccessor registration can be improved

Found in

EPiServer.CMS.Core 11.15.0

Fixed in

EPiServer.CMS.Core 11.16.0

(Or a related package)

Created

May 12, 2020

Updated

Jun 01, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

Currently ServiceAccessors and ServiceCollectionAccessors are registered as singelton with factory methods. Most IOC containers are much more performant handling an object instance than a factory method (especially the StructureMap implementation).
We should change this registration to delegate instances rather than factory methods.