dotnet/aspnetcore

Consider using ActivatorUtilities.CreateFactory in AuthenticationHandlerProvider

Open

#2,948 opened on Mar 12, 2018

View on GitHub
 (14 comments) (0 reactions) (0 assignees)C# (37,933 stars) (10,653 forks)batch import
affected-fewarea-networkingenhancementfeature-http-abstractionshelp wantedseverity-nice-to-have

Description

ActivatorUtilities.CreateInstance is 30x slower than invoking factory delegate.

/cc @Tratcher @HaoK

Contributor guide