Closed gibletto closed 5 years ago
The DefaultRouteMap ctor does an Assembly scan per dependency. This is very slow.
I fixed it by adding
services.AddSingletone<IRouteMap, DefaultRouteMap>()
If it is intended to be transient, the assembly scan should be cached.
The DefaultRouteMap ctor does an Assembly scan per dependency. This is very slow.
I fixed it by adding
services.AddSingletone<IRouteMap, DefaultRouteMap>()
If it is intended to be transient, the assembly scan should be cached.
28