resilience architecture in net core