IServiceCollection session lifetime addtransient addsingleton code example
Example: servicecollection addsingleton vs addtransient
//ref https://stackoverflow.com/questions/38138100/addtransient-addscoped-and-addsingleton-services-differences
//ref https://stackoverflow.com/questions/38138100/addtransient-addscoped-and-addsingleton-services-differences