Open bnaya-payoneer opened 4 months ago
record
over class
for data objectNotes:
.ConfigureAwait(false)
return Ok(result.ToContractEnumerable())
?public async Task<IEnumerable<ExampleModel>> GetAsync()
Payoneer.Infrastructure.HealthCheckNetcoreExtensions
gbt-psfx-glps-engine gbt-providers-integration paycloud-compliance-kycv - Repos (azure.com)
Review @Ram Yaari
var services = new ServiceCollection();
// Define a resilience pipeline with the name "my-pipeline"
services.AddResiliencePipeline("my-pipeline", builder =>
{
builder
.AddRetry(new RetryStrategyOptions())
.AddTimeout(TimeSpan.FromSeconds(10));
});
// Build the service provider
var serviceProvider = services.BuildServiceProvider();
// Retrieve a ResiliencePipelineProvider that dynamically creates and caches the resilience pipelines
var pipelineProvider = serviceProvider.GetRequiredService<ResiliencePipelineProvider<string>>();
// Retrieve your resilience pipeline using the name it was registered with
ResiliencePipeline pipeline = pipelineProvider.GetPipeline("my-pipeline");
// Alternatively, you can use keyed services to retrieve the resilience pipeline
pipeline = serviceProvider.GetRequiredKeyedService<ResiliencePipeline>("my-pipeline");
// Execute the pipeline
await pipeline.ExecuteAsync(static async token =>
{
// Your custom logic goes here
});
_pipeline = new ResiliencePipelineBuilder()
.AddRetry(new RetryStrategyOptions()) // Add retry using the default options
.AddTimeout(TimeSpan.FromSeconds(10)) // Add 10 seconds timeout
.Build(); // Builds the resilience pipeline
Error Details: Consider using : https://www.rfc-editor.org/rfc/rfc7807.html
PBI
Template Repo
System.Text.Json
OTEL
fGOd7+&.
]Swagger version
Common Docker Compose (base-line, mongo, sql-server, etc.)
Mongo WiKi
Each switch should have a WIKI page which will be address from the ReadMe.md