training-kentico-k12 icon indicating copy to clipboard operation
training-kentico-k12 copied to clipboard

Use AutoFac lambda registrations

Open JanLenoch opened this issue 5 years ago • 0 comments

Motivation

Lambda registrations make sense for most-often used services. They reportedly yield a 10x performance improvement.

Proposed solution

Re-implement AutofacConfig as per https://autofac.readthedocs.io/en/latest/best-practices/index.html#register-frequently-used-components-with-lambdas

JanLenoch avatar Jun 20 '19 10:06 JanLenoch