I think ConfigureServices is a little messy.
Is it a good idea to create an IServiceCollectionextensions and put all default configuration setting (methods and class) into it and just call it in startup configuration like this services.AddMongoIdentity(someOptions); ?!
I think
ConfigureServices
is a little messy. Is it a good idea to create anIServiceCollection
extensions and put all default configuration setting (methods and class) into it and just call it in startup configuration like thisservices.AddMongoIdentity(someOptions);
?!