addsingleton vs addscoped vs addtransient .net core 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