v15.0.0
- Now
MetricsFactory
is registered in DI and must be used from DI. Its methods createMetricsInstance
instead ofMetricsFactory
- Added
.AddCustomHttpClient<>
,.AddCustomHttpClients
extensions which add Retry, CB, Timeout policies - https://github.com/atidev/ATI.Services.Common/pull/77/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R166 BaseServiceOptions
gets a lot of different properties to work with Policies. Just set"UseHttpClientFactory":true
, call.AddCustomHttpClient<>
or.AddCustomHttpClients
instartup.cs
- yourHttpClient
will be registered inIHttpClientFactory