public static class ServiceExtensions { public static IServiceCollection RegisterServices( this IServiceCollection services) { services.AddTransient<ITopicAreaService, TopicAreaService>(); // Add say 200 services here will allocate memory for all services at startup //is this good to do so return services; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)